User forums > Using Code::Blocks

How to do redirection to an output.

(1/1)

miron14:
Hello,

On my HW task, I was aasked to this code:

--- Quote ---printf("Winter is coming anytime soon!\n");
    return 0;
--- End quote ---
Run it,and redirect it to txt file.
Can some1 tell me how to that? (the redirection part)

Thanks very much.

Ceniza:
Sure, Google.

Navigation

[0] Message Index

Go to full version