Graphics.h problem

This is a discussion on Graphics.h problem within the C Programming forums, part of the General Programming Boards category; I download this file from the internet, but when I try to compile the file, it gives me a error ...

  1. #1
    Registered User Commander's Avatar
    Join Date
    Sep 2001
    Posts
    804

    Graphics.h problem

    I download this file from the internet, but when I try to compile the file, it gives me a error massage saying "BGI graphics not supported under Windows". I have no clue what to do. Do I run the prog in console or change the code? and if i do have to compile it in console, how do i do it? can anyone help me?

    thankx


    P.S. : By the way, I'm using Borland C++ 5.02
    Attached Files Attached Files
    oh i'm sorry! i didn;t realize my fist was rushing to meet ur face!

    MSN :: commander_android@hotmail.com []*[]

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    9

    Thumbs up

    during creating new project, select platform as dos and then BGI option from right side menu.

  3. #3
    Registered User Commander's Avatar
    Join Date
    Sep 2001
    Posts
    804
    I tried it, now it says ""
    BGI Error: Graphics not initialized (use 'initgraph')
    ""

    can you help me wit this?

    thankx
    oh i'm sorry! i didn;t realize my fist was rushing to meet ur face!

    MSN :: commander_android@hotmail.com []*[]

  4. #4
    Registered User lliero's Avatar
    Join Date
    Oct 2001
    Posts
    59
    i think your *.bgi files should exist or did you initialize your graphics adapter?
    " programming is 1% syntax and 99% logic "

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 08:38 AM
  2. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  3. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 06:54 PM
  4. Graphics.h library problem
    By ChronoSquare in forum C++ Programming
    Replies: 3
    Last Post: 05-01-2006, 09:18 AM
  5. Laptop Problem
    By Boomba in forum Tech Board
    Replies: 1
    Last Post: 03-07-2006, 05:24 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21