Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » no output on stdout in console
no output on stdout in console [message #141663] Wed, 23 March 2005 14:50 Go to next message
Eclipse UserFriend
Originally posted by: mwisse.hs-harz.de

Hallo,

I am a beginner with C development under eclipse.

I wrote a small C-program for the console, which should display some
values in a loop. These values should be given out on stdout with
printf().

The console stays empty, if I use an endless loop. If I end the loop after
some cycles and exit the program, then the output values are displayed
when the program ends.

If I print with fprintf on stderr, then console is filled immediatly with
output.

It could be a matter with the underlying OS (linux), but if I start the
program in a terminal, it displays outputs on stdout correct.

I use eclipse 2.1.3 with cdt 1.2.1.

Regards und thanks for advice
Michael
Re: no output on stdout in console [message #141700 is a reply to message #141663] Wed, 23 March 2005 15:24 Go to previous message
Andrés Wellmann Jelic is currently offline Andrés Wellmann JelicFriend
Messages: 32
Registered: July 2009
Member
Hi!!
you should use a newer version of Eclipse & CDT. Your problem was fixed in
a later version (e.g. Eclipse 3.0.1 with CDT 2.1).

regards
Andrés


Am Wed, 23 Mar 2005 14:50:13 +0000 (UTC) schrieb Michael Wisse
<mwisse@hs-harz.de>:

> Hallo,
>
> I am a beginner with C development under eclipse.
>
> I wrote a small C-program for the console, which should display some
> values in a loop. These values should be given out on stdout with
> printf(). The console stays empty, if I use an endless loop. If I end
> the loop after some cycles and exit the program, then the output values
> are displayed when the program ends. If I print with fprintf on stderr,
> then console is filled immediatly with output. It could be a matter with
> the underlying OS (linux), but if I start the program in a terminal, it
> displays outputs on stdout correct.
>
> I use eclipse 2.1.3 with cdt 1.2.1.
>
> Regards und thanks for advice
> Michael



--
Erstellt mit Opera
Previous Topic:attach to a running process to debug
Next Topic:Getting C/C++ templates when writing new code in an editor window..
Goto Forum:
  


Current Time: Fri Apr 26 08:42:52 GMT 2024

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

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

Back to the top