How do I paint pixels in C - C++ without going in to Object Oriented Prog
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How do I paint pixels in C - C++ without going in to Object Oriented Prog
I want to findout how to paint a line in C without
using a line function or OOP. I want to control it by
pixels. I would really appreciate the help!!!
( In microsoft visual C++ )
Doug
And of all the choices of places to post a question about using Visual C++, and programming graphics of any kind using Windows, why did you choose a Linux forum?
And of all the choices of places to post a question about using Visual C++, and programming graphics of any kind using Windows, why did you choose a Linux forum?
This forum (Programming) is not Linux/UNIX-specific.
I didn't mean it was against some sort of rule, I was just pointing out that if you want help with Windows-specific programming and you want it fast, I would think it would be a better idea to post in a Windows forum. (as far as getting help quick, and there being better odds that someone will be on and read your question who knows a lot about it, and can give you a lot of help (probably more than you really need), and quickly).
It's certainly not wrong to post a Windows question here as I'm sure there are many developers who (like myself) code on multiple platforms around these parts
Dougman, you really don't need to worry about OOP if you want to dip your toes into Win32 programming. There are plenty of simple win32 window examples if you search the net, which are coded in nothing but pure C and the Windows Platform SDK.
And of all the choices of places to post a question about using Visual C++, and programming graphics of any kind using Windows, why did you choose a Linux forum?
I was just in the middle of about 3 things and seen this link come up
and played the odds---I did get some good info from a gentleman here!!!
I know there are better sites. Its very frustrating sometimes--some sites have about 1 guru to 50 newbies and there is a long wait.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.