#Command Prompt Error

6 messages · Page 1 of 1 (latest)

fierce agate
#

When I ran Command Prompt and typed "g++ --version", it says that there weren't any external or internal commands ,operable program, or batch files by it, yet I was sure I did everything correctly, how to fix?

echo violet
#

Did you add the path to the system environment variables? You have to add the path to the bin folder of your compiler to the PATH environment variables. Otherwise, you will have to type out the entire path to the bin/g++.exe file in order to use it.

amber cedar
#

Could be "gcc --version" instead?

echo violet
#

Thats if they are working with C. In a C++ server, I assumed they were working with C++. Either way, g++ should work.

fierce agate
#

It works now