[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] cout og buffer?



On Wed, 10 Mar 1999, Martin E. Nielsen wrote:

> Hejsa...
> 
> Jeg har et lille problem med output til skærm:
> Jeg har lavet et beregningstungt program, til løsning af ikke nogle
> matematiske ligningssystemer. Problemerne tager gerne meget
> langt tid, og jeg har derfor lavet en tæller, der automatisk skulle
> skrive ud hvor mange procent af problemet, der er løst...
> 
mærklig formulering :)

> Sagen er nu, at alle procenterne først bliver skrevet ud når
> programmet er helt færdigt, på trods af, at det med garanti står det
> rigtige sted (det virker under Dos(!)).
> 
> Er der en måde at flushe "cout"-output, der åbenbart opfører sig
> som buffer (eller hva'?) ?
> 
Har du husket linjeskift? Har lidt svært at hjælpe viss du ikke viser
koden..

> Mvh.
> 	// Martin E. Nielsen
> 

/Lars
Student at Department of Computer Science 
University of Copenhagen
http://www.diku.dk/students/larsj/



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:07 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *