Daily Archives: September 10, 2018

Compilation Compilation is the process that converts high level language into machine level language. Preprocessing Compilation Linking   Preprocesing is responsible for: -replacing #include directives with the content of the respective files (which is usually just declarations) -replacement of macros (#define) -selecting different portions of text depending of #if, #ifdef […]

Definitions – Compilation

Syntax [crayon-5c6ab52e3a580099178937/] Usage / Usability Resolve the problems we had with the old enums Can be silently converted to int The enum ids are exported in the scope in which the enum is defined, causing name clashes They have implementation-defined underlying type – type cannot be specified by the developer […]

Miscellaneous: Strongly typed enums