Advertisement

Drawing a pixel

Started by September 05, 1999 04:28 PM
1 comment, last by DoubleDose 25 years, 4 months ago
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.

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.
C++ Builder 4.0 is MINE!!!! I'm on my way!
Advertisement
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......

This topic is closed to new replies.

Advertisement