Thread: Graphics

  1. #1
    Unregistered
    Guest

    Question Graphics

    Hey, i'm relatively new to c++ but im familiar with alot of the basic stuff like functions variables if else do while for strings including etc and i was wondering how to do some basic graphics like just drawing a line or something maybe even in a full screen mode or something =] i use bloodshed dev c++ and id like to know what i need to do #include with and maybe where i could learn how to use the things i include; ive tried graphics.h but that doesnt work well

  2. #2
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    For your compiler you'll be wanting to use DirectX, MFC, OpenGL or you could even use windows. For that you want to include windows.h and read about some of the functions for drawing a bitmap. I would suggest learning a little OpenGL and if that is too hard then get a dos compiler and get your feet wet with mode 13h (www.brackeen.com is good for that).

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    411
    goto my page

    here

    and look on the links section for Pauls OpenGL Page

    That will get you started on opengl graphics.

  4. #4
    Unregistered
    Guest
    Don't start with opengl I'd start with windows gdi and the move on to direct draw you can learn that stuff from plenty of free tutorials or from a book
    i would recomend windows game programming for dummies its only 21 bucks and includes almost every thing you will need to know for a 2d windows game. (im not the first poster)

  5. #5
    Registered User
    Join Date
    Aug 2001
    Posts
    411
    Why not start with OpenGL?

  6. #6
    Unregistered
    Guest
    well although it is easyer than direct3d 3d games still do reqire a lot of work and you shoud see basic graphics programing and see how windows works before jumping right into 3d games.
    even a small tutorial like sunlights would be enough. the site is http://sunlightd.tripod.com/

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Turtle Graphics, how does it work?
    By freddyvorhees in forum C++ Programming
    Replies: 15
    Last Post: 08-28-2009, 09:57 AM
  2. Graphics Programming :: Approach and Books
    By kuphryn in forum Windows Programming
    Replies: 4
    Last Post: 05-11-2004, 08:33 PM
  3. egavga.bgi problem
    By sunil21 in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 09-22-2003, 05:06 PM
  4. Graphics Devices and Cprintf clash
    By etnies in forum C Programming
    Replies: 6
    Last Post: 05-09-2002, 11:14 AM