If you can compile with the code: blocks, then perhaps it comes with a compiler.
You need to find the path to the compiler (perhaps somewhere in C: \ Program Files \ CodeBlocks ...) The file name is similar to mingw-gcc.exe or mingw-g ++. Exe I also believe that this path can be found in the IDE settings.
When you know the path and file name, just add the path to the PATH system variable and call gccfilename.exe
to compile C ++ programs g ++ filename.exe
You can also run a simple compilation without changing PATH: just run "c: \ Full path to the compiler \ compiler.exe"
source share