Der Quellcode sieht wie aus?
Das ist meiner, der geht.
#include <iostream>
#include <ostream>
int main() {
std::cout << "Hallo Welt!" << std::endl;
}
Der Aufruf lautet:
g++ -o hello hello.cpp
Eventuell musst du das erzeugte hello dann noch ausführbar machen, mit chmod natürlich.
cu