[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop
Subject:    Re: Is this a Kdevelop bug?
From:       Jacek Wojdel <J.C.Wojdel () cs ! tudelft ! nl>
Date:       1999-04-15 6:35:31
[Download RAW message or body]

Barton Hodges wrote:
> 
> Hello, I hope someone can shed some light on this problem.
> 
> If I create a KDE-Application using the ApplicationWizard, and
> call it "test", the following code is created in main.cpp.  If
> I add the statement "fprintf(stdout, "Starting");", where it is
> shown below (without the --->, of course) the string "Starting"
> does not show up in the stdin/stdout tab of the output-view until
> the application dialog is closed.  Why is this?
> 
> Also, if I #include <iostream.h>, and use the statement
> "cout << "Starting";" instead, Kdevelop core dumps when the
> statement is encountered.
> 
> Any ideas?
> 
> Thanks,
> 
> Barton
> 
	Hi,

Just add "\n" at the end of the string. The console prints out
immediately only full lines.

	Jacek
-- 
+-------------------------------------+
|from: J.C.Wojdel                     |
|      J.C.Wojdel@cs.tudelft.nl       |
+-------------------------------------+

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic