cpp(1) : fatal error C1083: Cannot open include file: 'graphics.h': No such file or directory

该如何解决这个问题呢,我的程序是在Microsoft Visual C++ 6.0环境下运行的.

#include <graphics.h>是TC里面的图形库,如果要用的话应该用TC来编译,VC++有他自己的另外图形库,在VC中的图形库
是 Wingdi.h ,你只要 #include <windows.h> 就可以了,因为其中包含了。
温馨提示:答案为网友推荐,仅供参考
相似回答