IDE & Compile Tools

IDE

recomand codelite, which supports c++, php, nodejs, Free IDE cpp.sh.

Ofcource you can use xcode or sublime text3

Compile Tools: g++

g++ command is a GNU c++ compiler invocation command, which is used for preprocessing, compilation, assembly and linking of source code to generate an executable file. The different “options” of g++ command allow us to stop this process at the intermediate stage.

#download
brew install g++
#Check g++ compiler version information:
g++ --version
#compile hello.cpp
g++ hello.cpp
# excute
./hello

results matching ""

    No results matching ""