mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-01-28 06:08:02 -08:00
6 lines
399 B
C++
6 lines
399 B
C++
Prepossesor directives:
|
|
|
|
- #include <iostream> ## #include is used to include content of another file in your c++ code
|
|
- #define PI 3.14159 ## #define - Used to define macros.Macros are pieces of code that are replaced by a specific value
|
|
- #pragma once This directive provides implementation-specific instructions to the compiler. It is often used for compiler-specific features or optimizations.
|