freak_out
Cookie
Hallo leute ich habe gerade mal einHallo Programm unter linux gemacht. um zu gucken ob es geht (ist das erste mal das ich unter linux proge)
Der Code ist
So habe den code Kompiliert und erstellen lassen.
Wenn ich aber jetzt über Konsole das Programm starten will dann kommt folgendes:
Wieso startet das Programm nicht. Muss ich unter linux noch was am Quelltext ändern
Gruß freak_out
Der Code ist
Code:
// hallo.cpp
#include <iostream>
using namespace std;
int main(void){
cout << "Hallo linux";
return 0;
}
So habe den code Kompiliert und erstellen lassen.
Wenn ich aber jetzt über Konsole das Programm starten will dann kommt folgendes:
Code:
freakout@freakout-desktop:~$ hallo
bash: hallo: command not found
freakout@freakout-desktop:~$
Wieso startet das Programm nicht. Muss ich unter linux noch was am Quelltext ändern
Gruß freak_out