This sounds like a very simple problem, but I cannot figure it out! Basically what I have is this settings table that has a boolean data type, and I want to check it via a cpp program.
sqlite_exec(db,"select flag from setting",0,0,&errMsg); and I want to be able to return a 0, or a 1 according to what I put into the flag entry. Thanks! -Keiichi