すれ立てるまでもない質問はここで 第81刷
■ このスレッドは過去ログ倉庫に格納されています
0523デフォルトの名無しさん
2007/03/10(土) 20:15:23private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
if (radioButtonKisu->Checked == true){
MessageBox::Show("奇数が選択されました");
}
};
}
---------------------------------------------------------
↑
これを打ち込むと以下のエラーが出てしまいました。
.\DiceGame.cpp(6) : error C2143: 構文エラー : ';' が 'using' の前にありません。
c:\documents and settings\○○\my documents\○○\dicegame\dicegame\Form1.h(25) : error C2059: 構文エラー : 'インライン関数のヘッダー'
c:\documents and settings\○○\my documents\○○\dicegame\dicegame\Form1.h(25) : error C2143: 構文エラー : ';' が '{' の前にありません。
c:\documents and settings\○○\my documents\○○\dicegame\dicegame\Form1.h(25) : error C2447: '{' : 対応する関数ヘッダーがありません (旧形式の仮引数リスト?)
c:\documents and settings\○○\my documents\○○\dicegame\dicegame\Form1.h(183) : error C2039: 'pictureDice4_Click' : 'DiceGame::Form1' のメンバではありません。
c:\documents and settings\○○\my documents\○○\dicegame\dicegame\Form1.h(22) : 'DiceGame::Form1' の宣言を確認してください。
c:\documents and settings\○○\my documents\○○\dicegame\dicegame\Form1.h(183) : error C2065: 'pictureDice4_Click' : 定義されていない識別子です。
c:\documents and settings\○○\my documents\○○\dicegame\dicegame\Form1.h(183) : error C3350: 'System::EventHandler' : delegate コンストラクタには 2 つの引数が必要です
.\DiceGame.cpp(6) : error C2059: 構文エラー : ';'
.\DiceGame.cpp(19) : fatal error C1075: 左側 中かっこ '{' に対応するものが 'c:\documents and settings\○○\my documents\○○\dicegame\dicegame\Form1.h(4)' で見つかる前に EOF が検出されました。
○○はフォルダ名
対処法をお願いします
■ このスレッドは過去ログ倉庫に格納されています