Thread overview | |||||
---|---|---|---|---|---|
|
June 19, 2001 WINIO keyboard input | ||||
---|---|---|---|---|
| ||||
My WINIO 16-bit app works well. Printf goes to screen (the WINIO text window). Somehow scanf doesn't seem to work as well. It basically hangs the program. Evidently I'm doing something fundamentally wrong but it's not clear what. Advice? Thanks. Mark Evans |
June 19, 2001 Re: WINIO keyboard input | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mark Evans | > Somehow scanf doesn't seem to work as well. It basically hangs the program. Evidently I'm doing something fundamentally wrong but it's not clear what. Advice?
Code snippet would help...
|
June 19, 2001 Re: WINIO keyboard input | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Knepper |
We're talking scanf and getchar for example. Just as you would use them in DOS.
My understanding of WINIO is that it redirects stdin and stdout so that the WINIO console window works more or less like a DOS window with some extra capabilities associated with Windows messaging (menus and the like).
My program is littered with printf's and they all work fine. That would be stdout. It's the stdin that seems to have a problem.
Mark
On Tue, 19 Jun 2001 14:07:45 -0400, Jan Knepper <jan@smartsoft.cc> wrote:
> > Somehow scanf doesn't seem to work as well. It basically hangs the program. Evidently I'm doing something fundamentally wrong but it's not clear what. Advice?
>
> Code snippet would help...
>
>
|
Copyright © 1999-2021 by the D Language Foundation