This commit is contained in:
Fechin committed 2023-06-15 10:37:46 +08:00
1 parent 44cb045a37
commit 19a9e9c0c6
17 files changed
+40 -57

No files matched your search

+4 -4
View File
@@ -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 << " ";