VC++2008(graphics)!
-
Hi, I am working in VC++2008 environment, Please Could you tell me why when I use the following header file: #include; the following error is appeard: d:\work c++\alg_helbert\alg_helbert\df.cpp(53) : fatal error C1083: Cannot open include file: 'graphics.h': No such file or directory I want to use the follwing functions: setcolor Graphmode Textmode , lineto ……………!!!! Thank you
thank you soso
-
Hi, I am working in VC++2008 environment, Please Could you tell me why when I use the following header file: #include; the following error is appeard: d:\work c++\alg_helbert\alg_helbert\df.cpp(53) : fatal error C1083: Cannot open include file: 'graphics.h': No such file or directory I want to use the follwing functions: setcolor Graphmode Textmode , lineto ……………!!!! Thank you
thank you soso
I think you are trying to compile the code, which was written using turbo c++ compiler? Because
anassamar wrote:
'graphics.h':
and
anassamar wrote:
I want to use the follwing functions: setcolor Graphmode Textmode , lineto ……………!!!!
are graphical functions and header file provided in turbo c++ compiler.
-
Hi, I am working in VC++2008 environment, Please Could you tell me why when I use the following header file: #include; the following error is appeard: d:\work c++\alg_helbert\alg_helbert\df.cpp(53) : fatal error C1083: Cannot open include file: 'graphics.h': No such file or directory I want to use the follwing functions: setcolor Graphmode Textmode , lineto ……………!!!! Thank you
thank you soso
To add to Mohan Ramachandra's reply, this was a proprietary library for the DOS environment. In other words, this was a graphics library for use in DOS programs only, not Windows or anything else. It was also designed and provided by one company - it is not standard, is not a part of C, and not a part of C++. While you certainly can do graphics for Windows, it is done differently. See here[^] for graphics stuff that is used with windows at the api level, though there is more in knowing when and how to use this stuff. Do note that normally in a windows program, one only draws to a window device context in response to a WM_PAINT message. (If you are using MFC, that would be in OnPaint or OnDraw. ) Graphics and display is different in Windows than it was in DOS. You have a lot of research and reading to do. Good luck.
Please do not read this signature.