J
JezB
I'm compiling an old C program within Visual Studio to give me the
advantages of debugging within this environment. I'm building it as a
Console application using C++ as the language. It compiles and runs fine,
but if start debugging from within Visual Studio the standard output does
not seem to go anywhere. Standard output within my C program is via printf
commands. I dont want to start embedding Debug or Console statements since I
want the source to remain native C - I just want to compile and run it in
the visual studio environment.
How can I view the standard output within visual studio ? or how can I force
visual studio to run the program in a DOS window ?
The only way I can do what I want is to start the program in a dos window
then Attach to the process in visual studio, but this is not convenient as I
need to be able to step through the startup code.
advantages of debugging within this environment. I'm building it as a
Console application using C++ as the language. It compiles and runs fine,
but if start debugging from within Visual Studio the standard output does
not seem to go anywhere. Standard output within my C program is via printf
commands. I dont want to start embedding Debug or Console statements since I
want the source to remain native C - I just want to compile and run it in
the visual studio environment.
How can I view the standard output within visual studio ? or how can I force
visual studio to run the program in a DOS window ?
The only way I can do what I want is to start the program in a dos window
then Attach to the process in visual studio, but this is not convenient as I
need to be able to step through the startup code.