News

In class, we have linux computers, and use the g++ compiler to compile and then can run these programs in linux also, just simple programs in the terminal, how would I do the same on a Mac.
Also, at gcc.gnu.org it is said that G++ is a compiler, however I don't get that impression from looking at other sites--please help!<P>EDIT: BTW, I will be using this in win2k. Quote Report P ...
Next, we have to compile the program with the command g++ hello.cpp -o hello. Because this is such a small program, it should compile almost immediately.
What is a Build Tool Anyway? Let’s say you’ve written your C++ program, compiled it with g++ or clang++ or your compiler flavor of the week, and reveled in the magic of software. Life is good.