#include <graphics.h>
main()
{
int h, a, b, i;
graphinit();
gpset(0, 399, 7);
gpset(1, 397, 7);
for(i = 2; i <= 639; i++) {
h = 1.25 * (i - 320) * (i - 320) / 320;
gpset(i, h, 7);
gpset(i-2, a, 0);
a = b;
b = h;
}; }
とVC++に打ち込んで、コンパイルしたところ
atal error C1083: インクルード ファイルがオープンできません。'graphics.h': No such file or directory
cl.exe の実行エラー
と表示されました。
なぜ実行できないのでしょうか。
実行どころかビルドができてないですね。
類似スレ
http://f4.aaa.livedoor.jp/~pointc/log310.html
類似スレ読んでわかりました。
ありがとうございます。
類似スレ読んでわかりました。
ありがとうございます。
ツイート | ![]() |