Archived

This topic is now archived and is closed to further replies.

Drawing a pixel

This topic is 6677 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

First you will need to know how to set videomodes (don't start with BGI, it's really not worth it.). To do this you must learn a little asm.

And it is really useful if you know how to access memory data (using pointers).

Hope that gave you the courage to learn more about graphics programming.

Share this post


Link to post
Share on other sites
I know very little about object programming and such, so please forgive my knowing very little. Anyways, i have Borland's Turbo C++ and i was just wondering what is the source code for drawing a pixel. If you can tell me that, i can figure out the rest.

Share this post


Link to post
Share on other sites
Hmmmm.....I don't think it will get you far to know how to write a pixel on a screen. It surely depends what you are using. Like a DIB-section, or DirectX or OpenGL. Each handles their pixel-writing different.

------------------
Dance with me......

Share this post


Link to post
Share on other sites