Yep wparam does work too.no matter how much we try it is almost impossible to know everything about a particular language or framework.You are right there is still a lot i don't know about C++, especially algorithms but what i know is enough to get me playing with the big boys' toys.
you can do that on a 16-bit real mode OS like DOS since it has no protection and allows you to directly access hardware and BIOS interrupts.In a 32 bit protected mode OS you can't unless the OS provides a system call for you to do so which i highly doubt.If you want to play around with such low...
int maximum( int,int int);
int main()
{
int a,b,c;
cin>> a>>b>>c;
cout<<"maximum value is "<<maximum(a,b,c);
return o;
}
int maximum(int x,int y,int z)
{
int maxVal = x;
if (y > maxVal)
maxVal = y;
if (z > maxVal)
maxVal = z;
return maxVal;
}
Use a GUI toolkit like Qt, GTK etc they are Cross-platform and easy. anyway if you just want to be a windows programmer then
http://winprog.org/tutorial/
http://thepiratebay.org/torrent/3724881/Programming_Windows_5th_ed._Charles_Petzold__1998
if you want to easily make games in C++ check this out, its a friendly video game engine.
http://gdk.thegamecreators.com/
also using C# and XNA is even simpler.
C++ code can be cross-platform if you are careful.C++'s idea of cross-platform programming is that you code once and compile the source in the target operating systems.most games you play on windoze are actually developed on linux with C++ and then ported to windoze, Micro$oft then pays the...