Week 1
How to download source code into CS50 IDE
-
Log into ide.cs50.io using your GitHub account.
-
In your terminal window, type
wget https://cdn.cs50.net/2020/fall/lectures/1/src1.zipfollowed by Enter in order to download a Zip file of lecture’s source code into your IDE.
-
In your terminal window, type
unzip src1.zipfollowed by Enter to unzip (i.e., decompress) that Zip file.
-
In your terminal window, type
cd src1followed by Enter in order to “change directory” into that
src1directory (i.e., folder). -
In your terminal window, type, e.g.,
make hellofollowed by Enter in order to compile, e.g.,
hello.c(source code) intohello(machine code). -
In your terminal window, type, e.g.,
./hellofollowed by Enter in order to run, e.g.,
hello.
- Lecture
- Notes
- Slides
- Source Code
- Video
- Quiz 1
- Shorts
- Lab 1
- Problem Set 1