| ftp.delorie.com/archives/browse.cgi | search |
| From: | Derrick Early <early AT finite DOT nrl DOT navy DOT mil> |
| Subject: | printf? |
| To: | djgpp AT sun DOT soe DOT clarkson DOT edu (djgpp) |
| Date: | Fri, 16 Sep 94 8:13:38 EDT" |
| Mailer: | Elm [revision: 70.85] |
I trying to display a prompt so that the cursor stays at the end of the
prompt. When I try
printf("\nThis is a prompt: ");
nothing appears until after I strike a key that is caught by getche.
I tried this on my workstation here at work and it works as expected.
What am I doing wrong? Do I need to update my version of djgpp? Does
someone have a better way of displaying prompts? Please help a rookie.
Yours,
Derrick Early
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |