Drawing in C++

This is a discussion on Drawing in C++ within the C++ Programming forums, part of the General Programming Boards category; i need some help here, im trying to draw a line from a point to another in my c++ program ...

  1. #1
    Registered User
    Join Date
    Dec 2003
    Posts
    3

    Drawing in C++

    i need some help here, im trying to draw a line from a point to another in my c++ program but it tells me "BGI graphics not supported under windows". Im working with Borland C++ 5.02. I would appreciate any help on this.thanks

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >"BGI graphics not supported under windows"
    Seems pretty descriptive to me. BGI is a library for DOS if I recall correctly, it probably isn't compatible with Windows systems.
    My best code is written with the delete key.

  3. #3
    Registered User
    Join Date
    Dec 2003
    Posts
    3
    yes thats right, but then what should i do? how can i draw my lines??

  4. #4
    Registered User
    Join Date
    Dec 2003
    Posts
    101
    allegro(it's a pain installing but it worth it), directdraw..

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Drawing HBITMAP into CWnd, Acquired from "screenshot"
    By DeusAduro in forum Windows Programming
    Replies: 6
    Last Post: 07-02-2009, 04:41 PM
  2. Slow drawing code
    By tjpanda in forum Windows Programming
    Replies: 5
    Last Post: 05-09-2008, 06:09 PM
  3. Line Drawing Algorithm
    By Axpen in forum Game Programming
    Replies: 15
    Last Post: 08-01-2005, 07:30 PM
  4. How to do double buffing with win32 drawing?
    By Josh Kasten in forum Windows Programming
    Replies: 2
    Last Post: 03-27-2004, 12:02 AM
  5. drawing minimaps and radar screens.
    By Eber Kain in forum Game Programming
    Replies: 4
    Last Post: 03-08-2002, 11:44 AM

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