gcc vs g++

The course outline has specified that all lab work (including assignments) must work under the g++ compiler. Thus any test procedures the TAs produce for testing assignment solutions need only be tested under the g++ compiler.

All stock C programs can be made to compile under g++ and without using any C++ libraries or templates. Our experience is that g++ is a better compiler than gcc.

A student who actually wants to use C++ can, be we assume these students are competent to do so. The TAs need only advise on the debugging of C programs; students will be expected to debug their own C++ class members.