CS 70

Before You Start

Refresher Check-In

In what order do the steps to “translate” a program from C++ source code to an executable happen?

So, as a reminder, the sequence is:

  1. Preprocess — deals with all the #include directives to make one big file of C++ source code
  2. Compile — figures out what the program is trying to do and writes assembly code, which is machine instructions in a somewhat human-readable text form
  3. Assemble — turns the machine instructions into an “object file“, a .o file
  4. Link — gathers together all the .o files as well as the C++ standard library to make an executable the computer can actually run
  • LHS Cow speaking

    Awesome, okay, on to arrays!

(When logged in, completion status appears here.)