programing:cpp_builder:cpp_builder-unicode
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン | ||
programing:cpp_builder:cpp_builder-unicode [2020/01/31 20:50] – yoko | programing:cpp_builder:cpp_builder-unicode [2020/01/31 21:08] – [添え字番号の開始は1] yoko | ||
---|---|---|---|
行 52: | 行 52: | ||
- | その他留意点 | + | その他注意点 |
---------- | ---------- | ||
- | String型の文字列は、配列変数のようにアクセスできるが、添え字の開始番号は 1 〜 なので注意。 | + | |
+ | ### 添え字番号の開始は1 | ||
+ | String型の文字列は文字配列のようにアクセスできるが、添え字の開始番号は | ||
<code c> | <code c> | ||
- | String text = " | + | String text = L" |
Char c = text[1]; | Char c = text[1]; | ||
</ | </ |
programing/cpp_builder/cpp_builder-unicode.txt · 最終更新: 2020/01/31 21:29 by yoko