Tuesday, September 16, 2014

Compile and Call HelloWorld with G++

compile main.cpp:

g++ -Wall -W -Werror main.cpp -o MyHelloWorld (gcc is C compiler, g++ is C++ compiler)

OR

g++ main.cpp


It generates "a.out"

Call the program;

./a.out

No comments:

Post a Comment

Setting Jupyter and Tensorflow on Google Cloud Platform

https://towardsdatascience.com/running-jupyter-notebook-in-google-cloud-platform-in-15-min-61e16da34d52