doc: update docs/cpp.md
This commit is contained in:
parent
d3e778ee35
commit
d3ece9328d
@ -508,6 +508,7 @@ for (int i = 0, j = 2; i < 3; i++, j--){
|
|||||||
```
|
```
|
||||||
|
|
||||||
### auto
|
### auto
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
std:: string s = "hello world";
|
std:: string s = "hello world";
|
||||||
for(auto c: s){
|
for(auto c: s){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user