Okay... I installed the Mingw compiler and I can't run it for some reason.
Isn't the command 'g++ helloworld.cpp -o helloworld.exe' valid?
Apparently not, as it is not recognized as an internal or external command, operable program, or batch file.
Now I know I installed it. And in cmd I used 'cd C:\C++\' (the directory of my C++ practice files)
Please help, and don't tell me to use an IDE. When I worked with java I found it more fun to compile with .bat or cmd and I like the process. Thanks.
Are you trying to run it from the MinGW command line or the normal windows command line?
It won't work from there. Run it from the MinGW command prompt.
Where is that? How do I find it?
Last edited on
It only says "uninstall mingw-get"
Last edited on
Okay... everything is installed, what is the name of the MingGW command prompt?
Alright I figured it out! I had not installed MSYS! That's what I needed, thanks!
You can also just add the MinGW folder to your PATH variable and call mingw32-g++