try `using namespace std;' or use `std::string' Thanks, Andrew Pinski
On Friday, Oct 4, 2002, at 10:31 US/Pacific, Andrew Lefebvre wrote: > For some reason, when I try to compile code that contains strings, the > compiler gives me an error stating that the use of 'string' function > is not valid and "use this function instead". Im not quite sure why > it does this, because when i compile the code on a unix box w/gcc, > there are no errors. is the header <string>, which is part of the > STL, not included with OSX Dev tools, or am i doing something wrong? > thanks for the help. > >
