Compare commits
No commits in common. "f240cfb9dc274ac39085020ff7da68eaa208abff" and "e8787230feeb5981eafd1607e4ccaebe331b9bc4" have entirely different histories.
f240cfb9dc
...
e8787230fe
@ -1,5 +0,0 @@
|
|||||||
- 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,18 +20,8 @@ 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