This is the mail archive of the gcc-help@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]
Other format: [Raw text]

string class


Hello,

I try to compile following C++ program on gcc/g++ version 3.3.

include<string.h>

int main()
{
	string s1("hello world");

	return 0;
}

make gives me:

- string undeclared (first use in this function)....

plz help me...

Wim



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