开发者

Error in database file in iphone

开发者 https://www.devze.com 2023-01-24 18:08 出处:网络
I am fa开发者_JAVA技巧cing some error when calling a method for retrieving the data form sqlite.

I am fa开发者_JAVA技巧cing some error when calling a method for retrieving the data form sqlite.

error: stray '\302' in program at this line

printf("%d", sqlite3_prepare_v2(database, sqlStatement, -1, &compiledStatement, NULL)); 

please tell me where I am wrong..


this is a compiler error, isn't it? Try to remove the whole line and write it again by hand, do not copy it!

You have a invalid character in that line.


stray '\302'

This error comes if you have used any invalid characters inside your code. This is a compile time error. So what you can do is remove the whole line.(i.e. take the cursor to the staring of the line and then press -commandkey+ right arrow) and rewrite the line again.

Hope this helps...

hAPPY iCODING...

0

精彩评论

暂无评论...
验证码 换一张
取 消