LoginSignup
2
1

More than 5 years have passed since last update.

C | C++ > 配列の初期化 > int a[100] = {0}; | staticストレージと同じ方法で初期化

Posted at
動作環境
C++ Builder XE4

実装をしている中で配列の初期化を思い出した。

数年前に最初に読んだ記事は本の虫さんの以下の記事だった。
多くのプログラマは言語を表面的な理解だけで使っている

この記事で知ったのが「staticストレージと同じ方法で初期化」ということ。

今日検索をして、以下も見つけた。
Initialize static member array to zero

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1