| | | | Browse by category |
Article ID: 983
Last updated: 05 Feb, 2008
Problem
I'm using a CHAR(1) as a datatype on my database, but I can't seem to work with it as a char in my C++ program.
Cause
Traditionally, the C char type has been both a single-characater and integral type. As part of the design of DBTools.h++, the decision was made that char would be an integral type, and that RWCString would be used for character strings.
Action
Use RWCString to work with CHAR data on your database server.
I'm using a CHAR(1) as a datatype on my database, but I can't seem to work with it as a char in my C++ program.
Cause
Traditionally, the C char type has been both a single-characater and integral type. As part of the design of DBTools.h++, the decision was made that char would be an integral type, and that RWCString would be used for character strings.
Action
Use RWCString to work with CHAR data on your database server.
This article was:
Helpful |
Not helpful
Report an issue
Article ID: 983
Last updated: 05 Feb, 2008
Revision: 1
Views: 5480
Posted: 02 Sep, 1997 by
Dean J.
Updated: 05 Feb, 2008 by
Dean J.
Others in this category
Powered by KBPublisher (Knowledge base software)