DF> Hi all!
DF> Recently purchased a copy of Visual C+ Ver5.0
There's your problem, you only got one +! :-)
DF> In other version I could use the string class eg. --#include
tring>--,
What's the "other version"? GCC? Borland?
DF> however this version returns an undeclared identifier
DF> error. I can get around
DF> the error using char*, but why can't I use string? Both the string and
DF> string.h headers are in the include directory (the same directory as
other
DF> classes that -do- work) and both files look ok (ie I've opened them up
and
DF> they aren't corrupt of bad)
I believe string is supposed to be the same as std/string.h? That may work:
#include
(This is how I use the string class in gcc.)
--- Maximus/2 3.01
---------------
* Origin: Tanktalus' Tower BBS (1:250/102)
|