Permalink
Browse files

keeping up with the joneses

  • Loading branch information...
1 parent 418c7da commit ba9628b72e25a1628a4f96e89bab8d8f4eb14c30 @bentaber committed Jun 26, 2012
Showing with 32 additions and 3 deletions.
  1. +2 −1 .gitignore
  2. +7 −0 ex3-5/Makefile
  3. BIN ex3-5/ex3
  4. +1 −2 {ex3 → ex3-5}/ex3.c
  5. +12 −0 ex3-5/ex4.c
  6. BIN ex3-5/ex5
  7. +10 −0 ex3-5/ex5.c
View
@@ -1 +1,2 @@
-.dSYM
+*.dSYM
+*.pdf
View
@@ -0,0 +1,7 @@
+CFLAGS=-Wall -g
+
+all: ex3
+
+
+clean:
+ rm -f ex3
View
BIN ex3-5/ex3
Binary file not shown.
@@ -1,7 +1,6 @@
#include <stdio.h>
-
-//video paused at 26:35
+//video paused at 33:00
int main() {
int age = 10;
int height = 72;
View
@@ -0,0 +1,12 @@
+#include <stdio.h>
+
+//video paused at 33:00
+int main() {
+ int age = 10;
+ int height = 72;
+
+ printf("I am %d years old.\n", age);
+ printf("I am %d inches tall\n", height);
+
+ return 0;
+}
View
BIN ex3-5/ex5
Binary file not shown.
View
@@ -0,0 +1,10 @@
+#include <stdio.h>
+
+//video paused at 33:00
+int main(int argc, char *argv[]) {
+ int distance = 100;
+
+ printf("You are %d miles away.\n", distance);
+
+ return 0;
+}

0 comments on commit ba9628b

Please sign in to comment.