Laboratory #1

Therewillbecompileerrorsanditwillbeyourjobtofindtheman

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: subfolder, and then choose the “General”. In the “Display” section on the right side of the window, select the “Line numbers” check box. Laboratory #1, Version 1.0, 8/28/2012 Page 1 ENTC 269 Laboratory #1 Click on “Start Debugging” button on command row. There will be compile errors and it will be your job to find them and fix them. On the menu bar, View Other Windows Error List Rerun the debugger and get this program working. After it’s running, explain what was wrong to the lab supervisor, demonstrate the working program, have the table in the on p. 3 initialed. 2. Escape Sequences Modify file lab1_4.cpp. “\n” (which is called an escape sequence) causes the cursor to go to a newline and return the cursor to the left. p. 66 of your textbook shows you other escape sequences that can be used as input to a printf() function. Replace \n in the program with some of the escape sequences in the table on p. 3 of this lab write‐up, recompile, run the program and note what happens to the output and/or the cursor location. 3. Conversi...
View Full Document

Ask a homework question - tutors are online