bonjour,
alors j'ai un truc que je comprends pas. j'ai toujours fait comme ca et ca marchait mais la... ca marche plus...
donc bout de code simple :
#include
#include
int main (void) {
string s = "bonjour!";
cout<<s;
}
j'essaye de le compiler et pas moyen :
test.cpp: In function `int main()':
test.cpp:4: error: `string' undeclared (first use this function)
test.cpp:4: error: (Each undeclared identifier is reported only once for each function it appears in.)
test.cpp:4: error: syntax error (…)
Forum Programmation.c++ c++ compile pas sur mandrake 10
17
août
2004