Assistance with graphics

This is a discussion on Assistance with graphics within the C++ Programming forums, part of the General Programming Boards category; Hello, I've been searching around for a method to switch to a graphics mode of 640X480 with 256 colours. I've ...

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    4

    Assistance with graphics

    Hello, I've been searching around for a method to switch to a graphics mode of 640X480 with 256 colours. I've been able to work 13h, but the resolution is a little too low.

    I apoloize if this is a simple question, but I can't seem to find it. It's a wonder I even found this board. I'm so hopeless at searching the net.

    Any help that you could provide would be appreciated, and I thank you in advance. And thank you for taking the time to read this.

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    156
    depends, what graphic library you're using?

    in SDL its as follow:

    SDL_SetVideo(640, 480, 32, SWSURFACE);
    Compiler: MingW(IDE: Bloodshed Dev-C++ 4.01)
    Web Site: Zoo Crew
    Forums: Zoo Boards
    E-mail: goldenbunny84@hotmail.com

    "Do you wanna go to jail or do you wanna go home?!?!" - Alonzo(Training Day)

  3. #3
    Registered User
    Join Date
    May 2002
    Posts
    4
    I'm using a DOS compiler... Borland C++ 3.1

    Is it possible to do it this way?

  4. #4
    Registered User
    Join Date
    May 2002
    Posts
    63
    Go to www.brackeen.com for a complete VGA graphics tutorial for 256 colours.
    tudehopet uses Borland Compiler 5.5
    and Visual C++ 6.

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. Beginning Game Programming Type Books
    By bumfluff in forum Game Programming
    Replies: 36
    Last Post: 09-13-2006, 04:15 PM
  3. Graphics Programming :: Approach and Books
    By kuphryn in forum Windows Programming
    Replies: 4
    Last Post: 05-11-2004, 08:33 PM
  4. egavga.bgi problem
    By sunil21 in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 09-22-2003, 05:06 PM
  5. 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