You should download a compiler. Do you have a compiler pre-installed? If you used Codeblocks or DevC++, the compiler is installed in C:/Program Files/[DevCpp | Codeblocks]/MinGW. You need to add this location C:/..../MinGW/bin to your System Environment Variable.
You can google how to install MinGW and add to path or I suggest you to download Codeblocks and you will get compiler (g++) with them. Simply add the MinGW subdirectory inside Codeblocks installation to Path and you will be good to go.
You can verify your setup by opening cmd and typing g++ --version. It should show some version number. If it does, open the CP Editor and you should have those error gone.
You should download a compiler. Do you have a compiler pre-installed? If you used Codeblocks or DevC++, the compiler is installed in
C:/Program Files/[DevCpp | Codeblocks]/MinGW
. You need to add this locationC:/..../MinGW/bin
to your System Environment Variable.You can google how to install MinGW and add to path or I suggest you to download Codeblocks and you will get compiler (g++) with them. Simply add the MinGW subdirectory inside Codeblocks installation to Path and you will be good to go.
You can verify your setup by opening cmd and typing
g++ --version
. It should show some version number. If it does, open the CP Editor and you should have those error gone.