Add tags

Add tags to the following comment
つまり定数を宣言すればよいということでしょうか…。
const string hoge = "piyo";
これだと宣言時に値が確定してないときには具合が悪いですね。
こんなのはどうでしょう?

わかりにくいですね…。
1
2
string hoge;
hoge = hoge == "" ? "piyo" : hoge;

Add tags

The input will be splited to tags with space.

Index

Feed

Other

Link

Pathtraq

loading...