CDT Console Problem [message #155052] |
Mon, 26 September 2005 14:21 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03514 seconds