Commit 8ae9bef9 authored by Erik Strand's avatar Erik Strand
Browse files

Update i/o README

parent 00e7a3c4
# Basic Input
If you want to pass arguments to your program, you can add them to `main`.
These examples illustrate command line arguments, and reading a file.
demo@linux:03_inputs_and_outputs$ make
gcc -Wall -O3 -o add_integers add_integers.c
gcc -Wall -O3 -o read_file read_file.c
demo@linux:03_inputs_and_outputs$ ./add_integers 1 2
1 + 2 = 3
demo@linux:03_inputs_and_outputs$ ./read_file
This text is in a file.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment