Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. VC++2008(graphics)!

VC++2008(graphics)!

Scheduled Pinned Locked Moved C / C++ / MFC
c++graphicshelpworkspace
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    anassamar
    wrote on last edited by
    #1

    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

    M A 2 Replies Last reply
    0
    • A anassamar

      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

      M Offline
      M Offline
      Mohan Ramachandra
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • A anassamar

        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

        A Offline
        A Offline
        Avi Berger
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups