pixel manipulation troubles.
alright, i've totally gotten myself lost. my goal is to make some sort of trajectory program on a windows application, where you can simply see a ball fired from a cannon travel different arcs. I'm far far away from fufilling that dream, as I've never programmed anything on a GUI before, at least in c++.
My first step was to actually figure out how you put different pixel colors on the screen. So, not wanting to bother you guys, I went to the msdn library, which i have no idea how to use, and i found this about pixel manipulation. it looks like a rather slow way to manipulate a lot of pixels, but oh well, i was just going to give it a shot. I've got a few hang-ups though. at the bottom, it says:
" Header: Declared in Wingdi.h; include Windows.h."
I know what "include" means, but what does "Declared in Wingdi.h" mean? is it important? Also, under that i see where it tells me to use Gdi32.lib. I know how to add libraries, but I don't have any experience using them, and I don't know where to get that particular one. Help?
also, if someone could explain a better way to actually manipulate pixels, that'd also be a great help.