Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT Console Problem
CDT Console Problem [message #155052] Mon, 26 September 2005 14:21 Go to next message
Eclipse UserFriend
Originally posted by: rowck001.bigpond.net.au

Hi

Running Mingw with CDT on WinXP

CDT works great!! but some issues with the console.
It does not like repeated cout calls

eg. with this simple code from a console-mode app;

cout << "Just going to execute a loop!!" << endl;
for(int i=0; i < 6; i++){
cout << "Iteration: " << i << endl;
}

all that is output on console is "Just going to .... "
The output from the loop is not shown, but running from a command prompt
shows correct ouptut.

Is this an bug in the console or normal behaviour?
Re: CDT Console Problem [message #155066 is a reply to message #155052] Mon, 26 September 2005 17:34 Go to previous message
Eclipse UserFriend
Originally posted by: rowck001.bigpond.net.au

Solved my own problem - checked the bugzilla (always helps!)

Quick Solution;

I add a program input wait function, eg. getchar() at the end of the main
function in an application and then execute by double-clicking the exe
from either the debug or release options in the outline and use the dos
box window to view the output

hope this helps
Previous Topic:Unable to use debuger
Next Topic:Adding New Error Parser
Goto Forum:
  


Current Time: Mon Nov 11 09:46:29 GMT 2024

Powered by FUDForum. Page generated in 0.03514 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top