Stdin and stdout

Hello
I’ve written a network application with SDL and I want to read user input from the console.
But the my program creates stdout.txt, stderr.txt and doesn’t read from the console(I think it expects stdin.txt)

How can I change stdin and stdout to read from console?

Recompile SDL defining the extra symbol NO_STDIO_REDIRECT and the
resulting SDL binary will not redirect stdin and stdout.

Ocan Sankur wrote:> HelloI’ve written a network application with SDL and I want to read

user input from the console.But the my program creates stdout.txt,
stderr.txt and doesn’t read from the console(I think it expects
stdin.txt) How can I change stdin and stdout to read from console?