How can I display 256 colors at a time

Please tell me , how can i display 256 colors at a time in a progam written in Turbo C . Please give a program written in Turbo C that display 256 colors at a time and explain it. I will be thankful to you for this act of kindness.

Comments

  • [green]lol
    you'll need to use a 256 color BGI library...look for SVGA256 by Hargraphx...[/green]
    [size=2][red]

    [b]Bikram[/b][/red]
    [blue]http://www.geocities.com/nv5050[/blue]
    [red]**************************************[/red][/size]

  • : [green]lol
    : you'll need to use a 256 color BGI library...look for SVGA256 by Hargraphx...[/green]
    : [size=2][red]
    :
    : [b]Bikram[/b][/red]
    : [blue]http://www.geocities.com/nv5050[/blue]
    : [red]**************************************[/red][/size]
    :
    :

    Or you can roll your own VGA code, as BGI is a pile of crap.

    A better idea may be to download DJGPP and Allegro.

    And an even better idea would be to catch up with the times and learn/use OpenGL or DirectX (or others, plus wrappers over those, like SDL).

    "We can't do nothing and think someone else will make it right."
    -Kyoto Now, Bad Religion

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories