Well, I've followed all the tutorials and it's still not working. I don't know where else to turn cause google isn't helping much. Tried figuring it out myself but couldn't...
I did sudo apt-get install building essentials
and sudo apt-get install g++
I then proceeded to take a sample program and enter it
using namespace std;
cout << "Hello World\n";
I saved it as a .cpp on my desktop
Next I proceeded to type
g++ HelloWorld.cpp -o HelloWorld
I'm getting this error
g++: error: HelloWorld.cpp: No such file or directory
g++: fatal error: no input files
Anyhelp would be appreciated.
Now i've tried letting it know where my file is Desktop/HelloWorld/HelloWorld.cpp -o HelloWorld.o and it just enters the text and gives me a new line to type in. Nothing happened