Merge pull request #151 from youshaoXG/patch-1
add initialization of C++ arrays
This commit is contained in:
commit
f9414d705d
@ -57,7 +57,11 @@ comments: true
|
||||
=== "C++"
|
||||
|
||||
```cpp title=""
|
||||
|
||||
/* 使用多种「基本数据类型」来初始化「数组」 */
|
||||
int numbers[5];
|
||||
float decimals[5];
|
||||
char characters[5];
|
||||
bool booleans[5];
|
||||
```
|
||||
|
||||
=== "Python"
|
||||
|
Loading…
x
Reference in New Issue
Block a user