[c++]Prosty program a nie działa :(

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

  1. cout oraz endl znajdują się w przestrzeni nazw std.

  2. Jeśli chodzi Ci o tę funkcję: http://www.cppreference.com/wiki/c/other/system to z małej litery (no i oczywiście załączyć cstdlib)

  1. a no tak. Ostatnio pisałem w javie i c i zapomniałem o tym.

I teraz wszysko git. Dziękówa