Mail Archives: djgpp/1998/01/03/06:00:27
The mixture of gotoxy and cout/cin is possibly the cause of your problem.
Be aware that mixing conio (gotoxy) and stdio (cout, cin) functions can
cause trouble; also be aware stdout is line-buffered, so a newline is
needed or an fflush(stdout) or cout << flush before all input if prompts
are to appear on time. If you want to use gotoxy and other positioning
things, use cprintf() for output. (cprintf() also doesn't buffer.)
--
.*. Friendship, companionship, love, and having fun are the reasons for
-() < life. All else; sex, money, fame, etc.; are just to get/express these.
`*' Send any and all mail with attachments to the hotmail address please.
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca pgd73 AT hotmail DOT com
- Raw text -