CC help

Eric Michael Ryckman eryckman@math.lsa.umich.edu
Mon Jun 19 09:39:00 GMT 2000


Hello.  I am currently using your C++ compiler, and I have a few questions
I cannot find the answers to: first, how do i use namespaces?  I am trying
to use namespace std and the compiler doesn't recognize the 
 
using namespace std
 
command.  Second, how do I declare strings?  I have included the header
file <string.h> but the compiler will not recognize the declaration 
 
string myString;
 
or
 
String myString;
 
It recognizes the header file fine, but I get the error message: "Error:
string is not defined."  Thank you for your help.

Sincerely,
Eric Ryckman
eryckman@math.lsa.umich.edu




More information about the Gcc-bugs mailing list