This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
CC help
- To: bug-gcc at gnu dot org
- Subject: CC help
- From: Eric Michael Ryckman <eryckman at math dot lsa dot umich dot edu>
- Date: Mon, 19 Jun 2000 12:38:49 -0400 (EDT)
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