Re: getch() allocconsole freeconsole



Hello Jochen,

I am using the "official" solution to fix the printf() code, however getch()
does not use stdin or stdout, instead it uses the _coninpfh variable as
stated in the previous post.

Still looking for another "official" solution for getch().

Regards,
Elias
"Jochen Kalmbach [MVP]" <nospam-Jochen.Kalmbach@xxxxxxxxx> wrote in message
news:eJR2mYxgGHA.1792@xxxxxxxxxxxxxxxxxxxxxxx
Hi lallous!

Hope anyone has a better solution.

Why not use the "offical" solution:
http://support.microsoft.com/kb/105305/en-us

Greetings
Jochen


.



Relevant Pages

  • Re: CGI written in C
    ... > PB> Because CGI are connected to the HTTP server thru stdin and stdout. ... Remember that printf is buffered; you need to call fflushto ... make sure that the output buffer gets written to the socket. ...
    (comp.unix.programmer)
  • Re: Forth stdin and stdout
    ... which takes stdin and stdout. ... Win32for and iForth. ... the notes in the ./dfwforth/bugs.frt file on redirection. ...
    (comp.lang.forth)
  • Re: why standard files?
    ... opened namely STDIN, STDOUT, STDERR. ... an output data stream that the program can write it's normal ...
    (comp.lang.c)
  • Re: man-in-the-middle translation of input
    ... program that spawns the game, forwards its output to stdout, reads my input ... replaces my input by a series of valid game commands. ... write to stdout, I couldn't find a way to read from stdin, preprocess the ... input and feed it through a pipe to the child. ...
    (comp.unix.programmer)
  • Re: Forth stdin and stdout
    ... which takes stdin and stdout. ... Win32for and iForth. ... Simple redirection is normally not sufficient. ...
    (comp.lang.forth)