-2
ich auf Linux Mint zu kompilieren ich versucht, die folgende CPP-Datei Shell:g ++: fataler Fehler: keine imput Dateien linux
#include <iostream>
using namespace std;
int main()
{
cout<<"Hello"<<endl;
return 0;
}
das grundlegendste Programm möglich, da ich auf Shell-Kompilierung
nur testen wollteI tiped:
g++ -o hello.cpp hello
und als Ergebnis:
g++: error: hello: no such file or directory
g++: fatal error: no imput files
compilation terminated
was habe ich falsch gemacht?
Misplaced '-o'. – LogicStuff