From 8ae9bef9f11f1a9b476d07a7bd31963a1a907c6d Mon Sep 17 00:00:00 2001
From: Erik Strand <erik.strand@cba.mit.edu>
Date: Wed, 21 Oct 2020 13:39:41 -0400
Subject: [PATCH] Update i/o README

---
 03_inputs_and_outputs/README.md | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/03_inputs_and_outputs/README.md b/03_inputs_and_outputs/README.md
index a5c3614..52e526d 100644
--- a/03_inputs_and_outputs/README.md
+++ b/03_inputs_and_outputs/README.md
@@ -1,3 +1,15 @@
 # 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.
+```
-- 
GitLab