This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

CC help


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]