龍神録の8章について
Posted: 2010年10月09日(土) 12:47
こんにちは、自分は専門学校ゲームプログラミング科1年のものです
サイトを見ながらプログラミングの勉強をしているのですがどうしても8章がうまくできません
エラーの内容は以下のとおりです
1>c:\documents and settings\user\デスクトップ\project\1章\mydat\include\struct.h(21) : error C2065: 'PAD_MAX' : 定義されていない識別子です。
1>c:\documents and settings\user\デスクトップ\project\1章\mydat\include\struct.h(17) : error C2371: 'ch_t' : 再定義されています。異なる基本型です。
1> c:\documents and settings\user\デスクトップ\project\1章\mydat\include\struct.h(17) : 'ch_t' の宣言を確認してください。
1>c:\documents and settings\user\デスクトップ\project\1章\mydat\include\struct.h(22) : error C2371: 'pad_t' : 再定義されています。異なる基本型です。
1> c:\documents and settings\user\デスクトップ\project\1章\mydat\include\struct.h(22) : 'pad_t' の宣言を確認してください。
1>c:\documents and settings\user\デスクトップ\project\1章\mydat\include\struct.h(27) : error C2371: 'configpad_t' : 再定義されています。異なる基本型です。
1> c:\documents and settings\user\デスクトップ\project\1章\mydat\include\struct.h(27) : 'configpad_t' の宣言を確認してください。
色々とエラー原因を探したのですが解決できず、しかたなく8章で追加や変更のあった文字をサイトから丸々コピーしたにも関わらず同じエラーがでます
どのような要因が考えられますか?、皆さまのお力をお貸しください
0SはXP、Visual C++ 2008Express Editionを使っています
長々と失礼いたしました。
サイトを見ながらプログラミングの勉強をしているのですがどうしても8章がうまくできません
エラーの内容は以下のとおりです
1>c:\documents and settings\user\デスクトップ\project\1章\mydat\include\struct.h(21) : error C2065: 'PAD_MAX' : 定義されていない識別子です。
1>c:\documents and settings\user\デスクトップ\project\1章\mydat\include\struct.h(17) : error C2371: 'ch_t' : 再定義されています。異なる基本型です。
1> c:\documents and settings\user\デスクトップ\project\1章\mydat\include\struct.h(17) : 'ch_t' の宣言を確認してください。
1>c:\documents and settings\user\デスクトップ\project\1章\mydat\include\struct.h(22) : error C2371: 'pad_t' : 再定義されています。異なる基本型です。
1> c:\documents and settings\user\デスクトップ\project\1章\mydat\include\struct.h(22) : 'pad_t' の宣言を確認してください。
1>c:\documents and settings\user\デスクトップ\project\1章\mydat\include\struct.h(27) : error C2371: 'configpad_t' : 再定義されています。異なる基本型です。
1> c:\documents and settings\user\デスクトップ\project\1章\mydat\include\struct.h(27) : 'configpad_t' の宣言を確認してください。
色々とエラー原因を探したのですが解決できず、しかたなく8章で追加や変更のあった文字をサイトから丸々コピーしたにも関わらず同じエラーがでます
どのような要因が考えられますか?、皆さまのお力をお貸しください
0SはXP、Visual C++ 2008Express Editionを使っています
長々と失礼いたしました。