VS-Lab_Multifile

VS-Lab_Multifile - CSCI 101: Fundamentals of Computer...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CSCI 101: Fundamentals of Computer Programming Microsoft Visual Studio and C++ Debugging: A major portion of the time spent on programming is often in debugging. This is especially true when the length of the program and its complexity increases. Therefore, we are to dedicate a portion of this lab to debug a faulty program. Download file named debug.cpp from lab 5 folder and rename the file and name is as “lab5debugging.cpp”. Notice that almost every statement is commented out. As you debug each statement, you will uncomment the next statement to fix it (except in the cin section where you will be un-commenting the next pair of statements). It will be a good idea in this exercise to use the ampersand while executing emacs. Instead of enter emacs filename.cpp, use emacs filename.cpp &. This will allow you to use the terminal while keeping the emacs window open. If you have not used VS before follow the following instructions to learn how to use Visual Studio, otherwise skip to exercise part. Getting started with Microsoft Visual Studio C++
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/06/2009 for the course CSCI 101L taught by Professor Ghyam during the Spring '07 term at USC.

Page1 / 3

VS-Lab_Multifile - CSCI 101: Fundamentals of Computer...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online