- 119 名前:デフォルトの名無しさん [2007/08/19(日) 18:11:09 ]
- void PhysicsDraw(){
for(int x=40; x<640; x=x+40) DrawLine(x,0,x,480,GetColor(64,64,64)); for(int y=40; y<480; y=y+40) DrawLine(0,y,640,y,GetColor(64,64,64)); DrawCircle(320,240,30, GetColor(255,0,0),TRUE); } ていうプログラムが本に載ってたんですがそのままやっても > C:\borland\bcc55\Bin\make.exe -fDebug\dxtest.mak TARGET MAKE Version 5.2 Copyright (c) 1987, 2000 Borland bcc32 -W -3 -Od -w- -AT -pc -H- -k -b -v -y -L..\DxLib -DDEBUG -nDebug -I..\DxLib;C:\Users\shiro\Desktop\MyC\プロジェクトに追加すべきファイル_BCC用\DxLib -c C:\Users\shiro\Desktop\MyC\dxtest\dxtest.cpp Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland C:\Users\shiro\Desktop\MyC\dxtest\dxtest.cpp: エラー E2268 C:\Users\shiro\Desktop\MyC\dxtest\dxtest.cpp 3: 未定義の関数 'DrawLine' を呼び出した(関数 PhysicsDraw() ) エラー E2268 C:\Users\shiro\Desktop\MyC\dxtest\dxtest.cpp 3: 未定義の関数 'GetColor' を呼び出した(関数 PhysicsDraw() ) エラー E2268 C:\Users\shiro\Desktop\MyC\dxtest\dxtest.cpp 4: 未定義の関数 'GetColor' を呼び出した(関数 PhysicsDraw() ) エラー E2268 C:\Users\shiro\Desktop\MyC\dxtest\dxtest.cpp 4: 未定義の関数 'DrawLine' を呼び出した(関数 PhysicsDraw() ) エラー E2268 C:\Users\shiro\Desktop\MyC\dxtest\dxtest.cpp 5: 未定義の関数 'DrawCircle' を呼び出した(関数 PhysicsDraw() ) エラー E2268 C:\Users\shiro\Desktop\MyC\dxtest\dxtest.cpp 5: 未定義の関数 'GetColor' を呼び出した(関数 PhysicsDraw() ) エラー E2451 C:\Users\shiro\Desktop\MyC\dxtest\dxtest.cpp 5: 未定義のシンボル TRUE(関数 PhysicsDraw() ) *** 7 errors in Compile *** ** error 1 ** deleting Debug\dxtest.obj Make End !! (Elapsed time 0:00.296) ってエラーが出るんです。どうしてでしょうか? ちなみに今日プログラム始めたばかりです。
|

|