Compare commits
4 Commits
e8787230fe
...
f240cfb9dc
Author | SHA1 | Date | |
---|---|---|---|
![]() |
f240cfb9dc | ||
![]() |
ad57aa169e | ||
![]() |
4ba8c15525 | ||
![]() |
bbd4af3e97 |
@ -0,0 +1,5 @@
|
|||||||
|
- Writing is distinct from grammar and rhetoric, and most writing classes don't teach writing, they instead focus on grammar and rhetoric.
|
||||||
|
- Core curriculums ensure essentials, but limit depth and advancement of thinking
|
||||||
|
- Drilling students on grammar does not improve writing ability, students should instead be taught how to use grammar effectively
|
||||||
|
|
||||||
|
- I thought the writing was meandering, rambly, and overly abstract. They never provide a clear definition of what good writing entails
|
@ -20,8 +20,18 @@ A newline can be inserted using `\n`.
|
|||||||
|
|
||||||
## Integers
|
## Integers
|
||||||
An integer is a way to store a whole number. In C, integers are signed by default.
|
An integer is a way to store a whole number. In C, integers are signed by default.
|
||||||
|
|
||||||
|
Values of an integer type are whole numbers.
|
||||||
|
|
||||||
|
Integers are divided into two categories, signed, and unsigned.
|
||||||
|
|
||||||
|
If the sign bit is zero, it's a positive value, and if it's 1, the value is negative.
|
||||||
|
|
||||||
|
They cal be declared using `[short|long] [signed|unsigned] int`, resulting in 6 possible combinations
|
||||||
|
C99 adds a `long long` int
|
||||||
## Floats
|
## Floats
|
||||||
A float is a decimal value. Slower arithmetic and inexact values are both drawbacks of using floats.
|
A float is a decimal value. Slower arithmetic and inexact values are both drawbacks of using floats.
|
||||||
|
|
||||||
## Variables
|
## Variables
|
||||||
A variable must be declared before it is assigned.
|
A variable must be declared before it is assigned.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user