From c3d13acc87547ed9a48600bb2a42e36a8befa882 Mon Sep 17 00:00:00 2001 From: RustyRaptor Date: Mon, 26 Aug 2019 19:13:51 -0600 Subject: [PATCH] updated compile instructions for non-lab PCs --- lab1/COMPILE.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lab1/COMPILE.md b/lab1/COMPILE.md index aae3913..bfad4fe 100644 --- a/lab1/COMPILE.md +++ b/lab1/COMPILE.md @@ -1,6 +1,17 @@ # How to compile my code +## Lab Linux PCs 1. download to a folder on a lab PC or any Linux PC with gcc such as Documents 2. Open a terminal and cd to the code folder - ```cd ~/Documents``` 3. run ```gcc truthtable.c -o truthtable -Wall -Werror``` 4. run ```./truthtable ``` + +## Windows (for TAs working at home) +1. go to this url + - https://repl.it/@RustyRaptor/CS278-Lab-1 +2. Click the "Run" button +3. Compare the code to what I submitted in canvas. +4. Or just paste the code in canvas and run again + +### Alternatively +- use Visual Studio or whatever you have on windows for C/C++