Visual C++ Debug Tutorial
Short Description
Visual C++ Debug Tutorial. 5. Note that execution stops at the point where the … Visual C++ Debug Tutorial. 6. Set a watch on the variable “num” by typing …
Website: www.geocities.com | Filesize: 862kb
Content
Visual C++ Debug Tutorial
QUESTION: How do I set breakpoints, set watches, and set through an executing program line-by-line?
ANSWER:
1. You begin by opening the file guessage.cpp as shown in the Visual C++ Build Tutorial.Visual C++ will then display the file guessage.cpp
in the code window2. Once the file guessage.cpp is open, you build an executable version of the program, as shown in the Visual C++ Build Tutorial: Select
Build | Build. Visual C++ will ask if you want to create a default project workspace. Select Yes.
3. Set a breakpoint at the following line by clicking the cursor on this line, and then clicking on the “hand” (Insert/Remove Breakpoint). A red
breakpoint “stopsign” appears to the left of the line of code.
cin >> num;
4. Run guessage.cpp in debug mode by choosing Build | Start Debug | Go….
Get the file Download here
Related Books:Related Searches: default project, line answer, stopsign, executable version, breakpoint
Comments
Leave a Reply