[Dev-C++] C++ strings in header files
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Dane E. <dg...@wo...> - 2005-09-07 03:41:58
|
Hi all, I want to place 2 string members in my class .h file. Currently I have put '#include <string>' at the top and as a private member I put: string firstName; When I try to compile I get this error: 'string' does not name a type. Please can someone show me how to do this properly? Best regards, Dane da...@de... |