;SQLite"
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 c
;
> An: "SQLite"
> 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
"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
--
Thanks Igor. This is what I wanted.
On Thu, 2007-03-01 at 07:46 -0500, Igor Tandetnik wrote:
> Lloyd 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::bitse
Lloyd 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
--
5 matches
Mail list logo