Note: To make the text or printout larger in Code::Blocks:

  1. Choose "Settings" on the menu bar and select "Editor".
  2. Click "Choose" at the top right (for Font setting).
  3. Select "10" (or larger) under "Size".
  4. Click "Ok" and click "Ok" again.

Code::Blocks Instructions

  1. On the Desktop, open WebFX Applications, open the CodeBlocks folder, and the CodeBlocks program icon.
  2. Close the tips box and the script console.
  3. Click the "Create a new project" icon.
  4. Choose "Console application" and press "Go".
  5. Select "C++" and press "Next".
  6. Title your project "CS161" or something appropriate.
  7. Set the folder to "H:\" or choose the appropriate folder.
  8. Press "Next".
  9. Press "Finish".
  10. Open up the "Sources" folder.
  11. Double click on the "main.cpp" to open the editor to make changes.
  12. Click the Save icon or choose "Save File" on the File menu to save the source file.
  13. Click the Build icon or choose "Build" on the Build menu to compile and link the program.
  14. Fix any errors if necessary, save, and build again.
  15. Run the program by clicking on the Run icon or choosing "Start" on the Debug menu.
  16. Print the output by copying it to your favorite editor
  17. Print the program by choosing Print on the File menu, choosing your printer, selecting Preferences, and making sure the "Original Size" is "8 1/2 x 11".

CodeBlocks is available for free for Windows, Linux, and Mac OS X at www.codeblocks.org.