mirror of
https://github.com/Fechin/reference.git
synced 2026-11-22 05:51:48 +03:00
logo
This commit is contained in:
1 parent
44cb045a37
commit
19a9e9c0c6
17 files changed
+40
-57
No files matched your search
@@ -21,7 +21,7 @@ Getting Started
|
||||
#include <iostream>
|
||||
|
||||
int main() {
|
||||
std::cout << "Hello QuickRef\n";
|
||||
std::cout << "Hello CheatSheets\n";
|
||||
return 0;
|
||||
}
|
||||
```
|
||||
@@ -31,7 +31,7 @@ Compiling and running
|
||||
```shell script
|
||||
$ g++ hello.cpp -o hello
|
||||
$ ./hello
|
||||
Hello QuickRef
|
||||
Hello CheatSheets
|
||||
```
|
||||
|
||||
### Variables
|
||||
@@ -130,7 +130,7 @@ int main() { // main function
|
||||
}
|
||||
|
||||
void hello() { // Defining
|
||||
std::cout << "Hello QuickRef!\n";
|
||||
std::cout << "Hello CheatSheets!\n";
|
||||
}
|
||||
```
|
||||
|
||||
@@ -494,7 +494,7 @@ for (int n : {1, 2, 3, 4, 5}) {
|
||||
---
|
||||
|
||||
```cpp
|
||||
std::string hello = "QuickRef.ME";
|
||||
std::string hello = "CheatSheets.zip";
|
||||
for (char c: hello)
|
||||
{
|
||||
std::cout << c << " ";
|
||||
|
||||
Reference in new issue
Block a user