[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
 

Sv: [CPROG] cout og buffer?



Har du prøvet med flushall();

?

-----Oprindelig meddelelse-----
Fra: Martin E. Nielsen <sslug@sslug>
Til: sslug@sslug <sslug@sslug>
Dato: 10. marts 1999 22:40
Emne: [CPROG] cout og buffer?


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...

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'?) ?

Mvh.
// Martin E. Nielsen




 
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] *