FAQs, 2017

How to...

Short tutorials/explanations on practical operations with programming support software.

Installing Software

Compilers

A compiler translates your programming language source code into an executable. A compiler is not a program that allows you to create, edit, run, test, & debug your code. Code::Blocks, Eclipse, XCode, etc. are not compilers – they are IDEs (see below).

IDEs

An IDE is a program that “surrounds” a compiler and provides support for a variety of programming activities, including writing code, compiling it, correcting errors, running and testing the resulting program, and debugging the program.

The most popular IDEs for C++ programming at ODU are Code::Blocks and Eclipse. Both IDEs are free, and both can be installed on Windows, OS/X, and Linux PCs.

Programming tasks

  • Setting up a New Programming Project in your IDE

  • Setting up a Programming Project with Existing Code

  • Changing the compiler settings in your project.

  • Using makefiles to build your project.

  • Debugging your code

  • Supplying Inputs to Programs

  • Head to Head testing.