Thread: Drawing a map.

  1. #1
    Unregistered
    Guest

    Drawing a map.

    I have looked all over the web for a way to draw a line between points given the distance and angle. I'm used to toogl for C++, but I was wondering if there was a way to accomplish this using C. I'm just really wondering if there is a way to draw lines in C. Any help would be appreciated. Thank You.

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >I'm just really wondering if there is a way to draw lines in C
    Mathematically, sure. Graphically, not with with ISO standard C. The C standard doesn't require a that system to have a screen, much less draw graphics to one. Because of this if you want to easily create graphics you need to use a nonstandard library (such as OpenGL or DirectX) or a system dependent API to do any real drawing.

    -Prelude
    My best code is written with the delete key.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Polynomials and ADT's
    By Emeighty in forum C++ Programming
    Replies: 20
    Last Post: 08-19-2008, 08:32 AM
  2. New editor updates
    By VirtualAce in forum Game Programming
    Replies: 8
    Last Post: 11-05-2005, 03:26 PM
  3. Creating a map engine.
    By suzakugaiden in forum Game Programming
    Replies: 11
    Last Post: 06-21-2005, 05:06 AM
  4. the effects of textures on my frame rate
    By DavidP in forum Game Programming
    Replies: 37
    Last Post: 10-03-2003, 11:24 AM
  5. my map is showing up 90 degrees turned!
    By frenchfry164 in forum C++ Programming
    Replies: 8
    Last Post: 03-28-2002, 02:32 PM