delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/12/22:00:21

From: gregorio AT jet DOT es (Grzegorz Adam Hankiewicz)
Newsgroups: comp.os.msdos.djgpp
Subject: Aid in using gpp
Date: Mon, 10 Nov 1997 14:14:08 GMT
Organization: Gogosoftware
Lines: 18
Message-ID: <3467165d.1730402@news.jet.es>
References: <01bcedd5$7998b840$0100a8c0 AT www DOT softcom DOT it>
NNTP-Posting-Host: infon950.jet.es
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>I'm a VERY new user of c++ & gpp (& rhide), please forgive me!
>I've problem using gpp reading/wrtin' sdin/stdout.
>My programs ALWAYS print to stdout (either using prinft or >>cout) in
>buffered mode and I don't know  how to disable this feature.

I don't know in C++, but in C you just have to use the conio.h
functions. Then, something like this:

printf("Hello World\n"; getch();

...could look like this:

cprintf("Hello World"; getch();

- G.A. Hankiewicz - ICQ 255289 - gregorio AT jet DOT es
        http://web.jet.es/gregorio
- Gogosoftware
        http://web.jet.es/gregorio/gogosoftware

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019