TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: DOUGLAS FORD
from: DARIN MCBRIDE
date: 1997-11-11 19:12:00
subject: String

 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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.