diff --git a/education/software development/ECE1400/Compilation Steps.md b/education/software development/ECE1400/Compilation Steps.md index c0cddb0..ce3aede 100644 --- a/education/software development/ECE1400/Compilation Steps.md +++ b/education/software development/ECE1400/Compilation Steps.md @@ -1,9 +1,11 @@ 1. Preprocessing: The preprocessor obeys commands that begin with #, also known as directives -Commands for the preprocessor are called directives. -Ex - - +Commands for the preprocessor are called directives. Directives begin with a pound sign, and they do not end with a semicolon. +Example: +```c +// +#include +``` 2. Compiling. A compiler translates then translates the program into machine instructions. 3. Linking: The generated objects are combined to create a complete executable. diff --git a/education/software development/ECE1400/Types.md b/education/software development/ECE1400/Types.md new file mode 100644 index 0000000..6e0c832 --- /dev/null +++ b/education/software development/ECE1400/Types.md @@ -0,0 +1,4 @@ +# Strings +A string literal is characters enclosed in double quotation marks. + +A newline can be inserted using `\n`. \ No newline at end of file