Home >Backend Development >C++ >CS#s Introduction to Computer Science - Week Notes
https://manual.cs50.io/
Full notes: https://cs50.harvard.edu/x/2024/notes/1/
Practice: https://cs50.harvard.edu/x/2024/psets/1/
To start we should know 3 main keys:
code filename.c // create a file // compiles the file from our instructions in C and creates an executable file called make filename ./filename // run
Types refer to the possible data that can be stored within a variable. Types are very important because each type has specific limits.
The number of bits limits how high and low we can count.
printf allows for many format codes, full list https://manual.cs50.io/3/fprintf
int %i float %f char %c string %s
The above is the detailed content of CS#s Introduction to Computer Science - Week Notes. For more information, please follow other related articles on the PHP Chinese website!