Severin Müller [EMAIL PROTECTED] wrote:
This won't work, because sUsername.assign... will not be accepted
with sqlite3_column_text, because sqlite_column_text if of type const
unsigned char...
Just cast it to const char*
Igor Tandetnik
Betreff: [sqlite] Re: C/C++ API
Severin Müller [EMAIL PROTECTED] wrote:
This won't work, because sUsername.assign... will not be accepted
with sqlite3_column_text, because sqlite_column_text if of type const
unsigned char...
Just cast it to const char*
Igor Tandetnik
Betreff: [sqlite] Re: C/C++ API
Severin Müller [EMAIL PROTECTED] wrote:
This won't work, because sUsername.assign... will not be accepted
with sqlite3_column_text, because sqlite_column_text if of type const
unsigned char...
Just cast it to const char*
Igor Tandetnik
Lloyd lloyd-jowPkhCZOFef0DUV/[EMAIL PROTECTED] wrote:
How can I make an array of bit fields? something like, using the 16
bits
of a short as an array of bits
You can't. But, if you can use C++ rather than C, there's std::bitset
class that does just that.
Igor Tandetnik
Thanks Igor. This is what I wanted.
On Thu, 2007-03-01 at 07:46 -0500, Igor Tandetnik wrote:
Lloyd lloyd-jowPkhCZOFef0DUV/[EMAIL PROTECTED] wrote:
How can I make an array of bit fields? something like, using the 16
bits
of a short as an array of bits
You can't. But, if you can use C++