开发者

Error in database file in iphone

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜