Code Buffer
Pages
Home
About
Vim - The text editor for programmers
Thursday, September 20, 2012
Redirecting standard input and standard output
Redirecting input to
stdin
from a file -
./a.out < in.txt
Redirecting input from
stdout
to a file -
./a.out > out.txt
Combining both -
./a.out < in.txt > out.txt
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment