Witam napisałem taki program:
#include
int main()
{
cout << "Siema" << endl;
System("rm /home/stanek/coś.txt");
return 0;
}
i dzieje się coś takiego
stanek@stanek:~/Moje$ g++ u.cpp
u.cpp: In function ‘int main()’:
u.cpp:5: error: ‘cout’ was not declared in this scope
u.cpp:5: error: ‘endl’ was not declared in this scope
u.cpp:6: error: ‘System’ was not declared in this scope