Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Displaying status lines

Posted on 2000-04-19
Medium Priority
Last Modified: 2013-11-20
When programming in ansi c++ i use cout to display the state of my prog to the command line.

I've started writing mfc apps, (normal SDI and MDI). Is there a way i can open up a console or something, (or another view in an mdi app) to print text to easily? Like:
 cout << endl << "text";
(I dont want to use TRACE).
Question by:coles01
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 2732833
Check out AllocConsole();


Expert Comment

ID: 2733375
you can have a status bar or view dispaly your text .please tell us which one will you prefer.

LVL 23

Accepted Solution

chensu earned 400 total points
ID: 2733397

INFO: Calling CRT Output Routines from a GUI Application

However, it is better to use a GUI control, such as a status bar or an edit control. My article at CodeGuru demonstrates how to use an edit control to display status messages.

Download a File Using URLDownloadToCacheFile

Author Comment

ID: 2733975
thank you

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question