Inspired? There are lots of ways (and lots of things) you can learn for free. How or why did you learn to program? Join 278 others: share your story in a sentence. Referencing this specific answer? Use the permalink. Who made this? View source.
Inspired? There are lots of ways (and lots of things) you can learn for free. How or why did you learn to program? Join 278 others: share your story in a sentence. Referencing this specific answer? Use the permalink. Who made this? View source.
前回のコラムでは勇者を定義した。しかし、まだまだ課題は山積みである。ひとつずつ片付けていこうと思う。設計と実装を同時に行えるのも趣味のプログラムならではの魅力である。まだ、わたしの頭の中にしか設計図は存在しない。ぶっちゃけ、完成するか破綻するのか分からない。それも含めて楽しんでもらえるとうれしい。 ■Singletonパターン 勇者インスタンスが複数作られては困る。Singleton パターンを適用して勇者は世界でただ1人を表現したい。まずは勇者クラスをstaticで宣言し、クラス変数とする。
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く