Output from Console Application
From: JezB (jezbroadsword_at_blueyonder.co.uk)
Date: 09/03/04
- Next message: Andre Lorbach: "Re: Vs2005 Beta and Profile Guided Optimizations"
- Previous message: Kazi: "Re: How to retrieve serial number of OS or CPU for copy protection?"
- Next in thread: ScottD: "Re: Output from Console Application"
- Reply: ScottD: "Re: Output from Console Application"
- Reply: Peter van der Goes: "Re: Output from Console Application"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 3 Sep 2004 10:23:51 +0100
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.
- Next message: Andre Lorbach: "Re: Vs2005 Beta and Profile Guided Optimizations"
- Previous message: Kazi: "Re: How to retrieve serial number of OS or CPU for copy protection?"
- Next in thread: ScottD: "Re: Output from Console Application"
- Reply: ScottD: "Re: Output from Console Application"
- Reply: Peter van der Goes: "Re: Output from Console Application"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|