mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-01-28 22:28:02 -08:00
Compare commits
5 Commits
3c7c8a5a78
...
8a6d164f11
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8a6d164f11 | ||
|
|
2aee46f169 | ||
|
|
22977d5ca1 | ||
|
|
a2c99c9674 | ||
|
|
424f6c2b9e |
5
languages/c++.cpp
Normal file
5
languages/c++.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
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.
|
||||
@@ -286,7 +286,7 @@ for(dataType item : array) {
|
||||
|
||||
### ACCESS MODIFIERS
|
||||
|
||||
1. defualt(No keyword required)
|
||||
1. default(No keyword required)
|
||||
2. private
|
||||
3. public
|
||||
4. protected
|
||||
|
||||
Reference in New Issue
Block a user