diff --git a/education/software development/ECE1400/Compilation Steps.md b/education/software development/ECE1400/C.md similarity index 54% rename from education/software development/ECE1400/Compilation Steps.md rename to education/software development/ECE1400/C.md index ce3aede..4134377 100644 --- a/education/software development/ECE1400/Compilation Steps.md +++ b/education/software development/ECE1400/C.md @@ -1,3 +1,5 @@ +# Compilation Steps + 1. Preprocessing: The preprocessor obeys commands that begin with #, also known as directives Commands for the preprocessor are called directives. Directives begin with a pound sign, and they do not end with a semicolon. @@ -11,3 +13,15 @@ Example: The preprocessor is typically integrated with the compiler. +# Types +## Strings +A string literal is characters enclosed in double quotation marks. + +A newline can be inserted using `\n`. + +## Integers +An integer is a way to store a whole number. In C, integers are signed by default. +## Floats +A float is a decimal value. Slower arithmetic and inexact values are both drawbacks of using floats. +## Variables +A variable must be declared before it is assigned. diff --git a/education/software development/ECE1400/Types.md b/education/software development/ECE1400/Types.md index 6579434..e69de29 100644 --- a/education/software development/ECE1400/Types.md +++ b/education/software development/ECE1400/Types.md @@ -1,8 +0,0 @@ -# Strings -A string literal is characters enclosed in double quotation marks. - -A newline can be inserted using `\n`. - -## Integer -An integer is a way to store a whole number. In C, integers are signed by default. -## Float \ No newline at end of file