Thread: want to move bmp

  1. #1
    Registered User
    Join Date
    Dec 2001

    Exclamation want to move bmp

    i am making a program in which i want to move damons and saints. i am making it in Turbo C++. so can somebody tell me how to draw them and move them. i think drawing them through pixels is bit bigger. so is there any alternative like drawing them like in paint and then store in C++ to use it in my program.
    thanks in advance.

  2. #2
    Registered User
    Join Date
    Dec 2001
    Standard C or C++ doesn't support bitmaps or even graphics! so you have to use a Graphics-Library!

    I don't know if Turbo C++ offers such a library - but if not, I suggest you to use Allegro
    Hope you don't mind my bad english, I'm Austrian!

  3. #3
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Best to start by simply drawing them. Then once you get the hang of that we can talk about moving them, because both operations tend to get complicated. There are quite a few ways to draw graphics, you can search google for OpenGL or DirectX, or you can go here for a basic rundown.

    My best code is written with the delete key.

  4. #4
    Registered User
    Join Date
    Dec 2001
    dear friends,
    there is support for graphics in TurboC++.
    in that i can make small photos by using pixel command as per I know, but i want a simple method than that one but only in TurboC++.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 03-24-2006, 08:36 PM
  2. Problem reading BMP
    By Mortissus in forum C Programming
    Replies: 4
    Last Post: 02-02-2006, 06:32 AM
  3. Replies: 5
    Last Post: 01-10-2006, 05:55 PM
  4. Request for comments
    By Prelude in forum A Brief History of
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM
  5. Formatting Output
    By Aakash Datt in forum C++ Programming
    Replies: 2
    Last Post: 05-16-2003, 08:20 PM