This is a collection of the code I wrote for Harvard's CS50 that I am proud of and that was of interest to me. This was made during the Spring 2021 session.
Please refer to the LICENSE
if you would like to use any of my code
Much of the code unfortunately contains specific functions that can only be run in CS50's own IDE. If you would like to run it though, simply click “Sign in with GitHub” to access the CS50 IDE and upload my code. Specific running instructions will depend on each problem/lab, but can be easily found in the instructions for each week's lab/problem set. E.g. week 1 problem set instructions.
A majority of the C programs follow these general instructions though:
- Open the IDE and
cd
(change directory) to the folder of the program you want to run.- E.g. For
credit.c
in pset1 you would docd pset1
- E.g. For
- Compile the program with
make program_name.c
- E.g.
make credit.c
- E.g.
- Run the program with
./compiled_name
- E.g.
./credit.c
- E.g.