Question Help needed to Debug Hello World in Visual Studio.

saurabhmangal

New member
Joined
Mar 9, 2013
Messages
2
Programming Experience
1-3
Dear experts,

I am having problems debugging and running c programs. For example I do not see 'step out' in menu>Debug. Moreover, all these important debugging buttons are dimmed (see attachment). I am soooo confused. How can I make use of the trace options and how can I add a watch window?


Actually, I am an old schooler and expect big buttons for compile and run on the IDE (coming from turboC by borland).

Here is what I did::


1) Made sure I have a program in C with extension .C on my hard disk

2) launched VS 2008
3) menu>File>open>File>then selected the file from step 1

4) Now I want to compile it and also debug it. > LOST.

Thanks,
Saurabh M.

 

Attachments

  • hello world in C.png
    hello world in C.png
    25.8 KB · Views: 46
question about Vistual Studio

This forum is for Visual BASIC, not for C.

What I want to know is how to debug a program (be it a VB or any other language program). I want to know that if i just have a single file program eg FirstProgam.vb then how do I compile it and switch the debugger on and how to add a variable to a watch... I am not getting the options in the debugger. Thats all!

thanks.
Saurabh.
 

Latest posts

Back
Top