Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to print variable values in MFC AppWizard

Status
Not open for further replies.

victor7

Programmer
Jul 30, 2002
11
0
0
US
Is there a way to print variables to a terminal screen in an MFCAppWizard similar to how cout does, so all the print statements will appear in a debug terminal?

thanks,
Victor
 
TRACE(<format like sprintf>,data...)
TRACE1
TRACE2

These will output to the debug window in DEBUG only. There is no console in a dialog based app. If it is an MFC Console app use std::cout.

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top