This commit is contained in:
Dan Buch 2016-04-12 04:47:46 -04:00
parent 3cdcf6c30f
commit 23a5e0903b
3 changed files with 16 additions and 1 deletions

View File

@ -1,2 +1,3 @@
ex1 ex1
ex3 ex3
ex4

View File

@ -3,4 +3,4 @@ FROM ubuntu:xenial
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -yq RUN apt-get update -yq
RUN apt-get install -yq build-essential git man RUN apt-get install -yq build-essential git man curl

14
lcthw-remnants-2/ex4.c Normal file
View File

@ -0,0 +1,14 @@
#include <stdio.h>
/* Warning: This program is wrong on purpose. */
int main()
{
int age = 10;
int height;
printf("I am %d years old.\n");
printf("I am %d inches tall.\n", height);
return 0;
}