Tuesday, July 28, 2009

Simple question about Visual C++ program...?

At my college, Microsoft's Visual C++ always shows lines near the bottom after debugging, where, if you have a problem, it will tell you which line and why...





Can anyone tell me how to turn that on? Or how to see where my problems in debugging exist, I'm pretty new to the program.

Simple question about Visual C++ program...?
I can't recall to well, but check the view menu or tools for debugger or message viewer something similar. Or try ctrl-m
Reply:In Visual C++ 2005 (although I believe it is the same in Orcas) I believe it is on by default. Although I never got Visual C++ to work... all the other ones would work but C++, so I really can't tell you, but it is on by default on all the other Visual's (Visual Basic, Visual C#, visual J#). Press F5 to run your program in debug, and If you did anything wrong then it shouldn't run and you should get an error at the bottom.
Reply:Ya know, I haven't used Visual C++ in a while, was using Turbo. Now its all Java. But in most IDE's under tools then preferences is usually where your settings are for the entire compiler. Try looking there.....


No comments:

Post a Comment