Back to having fun with LCTHW

This commit is contained in:
Dan Buch 2024-04-15 14:30:58 -04:00
parent 58002830a8
commit e28293e5bd
Signed by: meatballhat
GPG Key ID: A12F782281063434
3 changed files with 14 additions and 0 deletions

1
lcthw/.envrc Normal file
View File

@ -0,0 +1 @@
export CFLAGS='-Werror -g'

1
lcthw/ex1/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
ex1

12
lcthw/ex1/ex1.c Normal file
View File

@ -0,0 +1,12 @@
#include <stdio.h>
/* This is a comment. */
int main(int argc, char *argv[])
{
int distance = 100;
// this is also a comment
printf("You are %d miles away.\n", distance);
return 0;
}