tech.samar
tech.samar

Reputation: 152

Error in database file in iphone

I am facing 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..

Upvotes: 0

Views: 82

Answers (2)

Suresh Varma
Suresh Varma

Reputation: 9740

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...

Upvotes: 0

Matthias Bauch
Matthias Bauch

Reputation: 90117

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.

Upvotes: 1

Related Questions