Graphics

This is a discussion on Graphics within the C++ Programming forums, part of the General Programming Boards category; I'm not that good @ understanding the tutorials, and I have no Idea what a .h file is and why ...

  1. #1
    Registered User
    Join Date
    Sep 2002
    Posts
    49

    Question Graphics

    I'm not that good @ understanding the tutorials, and I have no Idea what a .h file is and why graphics can't be in their own cpp file. Please help.
    DJGPP-Complier
    Windows 98-(Shouldn't need to explain)

    I like plants.

  2. #2
    Registered User The Dog's Avatar
    Join Date
    May 2002
    Location
    Cape Town
    Posts
    788
    You'd have to clarify on what it is that you would like to accomplish. That way someone could help.

  3. #3
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Graphics isn't something you start out with when learning to program.
    Do some basic stuff first. Follow tutorials or buy a good book.
    Then when you feel more experienced (like knowing what a header file is ) you can move on to gfx.
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  4. #4
    Registered User Kirdra's Avatar
    Join Date
    Aug 2002
    Posts
    105
    I know what a header file is but I'm not ready for graphics =/

    What type of graphics are you after?

    I think your best off working with Circles and basic Polygons which can be called from Graphic header files. Working with them should get you use to the concept of graphics. I am not sure about the graphics you can use in games like sprites and backgrounds, I am a newb in the graphical department, but I think you can use software like Allegro and DirectX to create your known graphics.
    Last edited by Kirdra; 09-14-2002 at 11:54 AM.

  5. #5
    Registered User
    Join Date
    Sep 2002
    Posts
    49
    Have you ever played Pac-man, I want to find out how to get gfx like that, with commands that can change the direction the object on the screen is moving.

    By the way, I have taken some tutorials and know what a HEADER FILE is.
    DJGPP-Complier
    Windows 98-(Shouldn't need to explain)

    I like plants.

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

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