Sign in to follow this  
t5hoo6

Can i use this

Recommended Posts

In DOS you can use the graphics.h header which I remember has a putpixel function. You'll need to initialize graphics first.

In windows it's a whole other story, and you'd better look into APIs like SDL, DirectDraw, OpenGL, Direct3D.

Share this post


Link to post
Share on other sites
Quote:
Original post by Ilici
In DOS you can use the graphics.h header which I remember has a putpixel function. You'll need to initialize graphics first.

In windows it's a whole other story, and you'd better look into APIs like SDL, DirectDraw, OpenGL, Direct3D.


graphics.h isn't a standard header, so that may not be portable. If you're in real DOS mode you could allways look up "mode 13h" and other direct SVGA programming :-).

For pixel pushing, I'd recomend the SDL (http://libsdl.org/)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this