mirror of
https://github.com/RustyRaptor/CS278.git
synced 2026-12-03 20:15:16 -07:00
584 B
584 B
How to compile my code
Lab Linux PCs
- download to a folder on a lab PC or any Linux PC with gcc such as Documents
- Open a terminal and cd to the code folder
cd ~/Documents
- run
gcc truthtable.c -o truthtable -Wall -Werror - run
./truthtable
Windows (for TAs working at home)
- go to this url
- Click the "Run" button
- Compare the code to what I submitted in canvas.
- Or just paste the code in canvas and run again
Alternatively
- use Visual Studio or whatever you have on windows for C/C++