Need assistance for beginner

Ok, I went through a bunch of threads and tutorials. I just finished reading a basic C++ book that tought me the general language with the iostream being the main class ofcourse. I want to go down the windows programming path however, every tutorial/article I find for beginners windows C++ programming do not go into step by step details line by line. Does anyone know/have link/file of a step by step tutorial for windows tutorial (basic window). I REALLY want to learn the windows API but it seems complex even after reading the C++ book. I WANT INFO DAAAMIT!
Okay, okay.

First things first, IMHO, the Windows APIs are far more complicated than they need to be, and the best idea is to use cross-platform libraries which are also a lot easier to use (like wxWidgets, Boost).

However, if you want to use the pure Windows API and no others in its place, then I'm not sure if you saw this link, but...
http://www.winprog.org/tutorial/simple_window.html

-Albatross
What do you want exactly? Develop GUI application or learn windows API?
Because for developing GUI application you can use Qt or wxWidgets. It's portable way to develop applications.
I want to actually learn the windows API. Not just GUI. I would go down the VB route if I wanted that. It seems that even after reading the C++ book this stuff is still giberish to me. Albatross, I checked that link out, but even that link doesn't describe to you in detail what you are doing. I'm such a perfectionish nazi (scuse the description) that I want to know what I'm doing and how the program is functioning. I actually understood more than I did before I raed the C++ book. Like before I read the book I looked at windows API tutorials and understood maybe 2% of it, now it's more like 10-15% but still difficult. Any noob-friendly windows API books/tutorials? If you think i'm taking a too high of a step, perhaps point me in the right direction to learn the basics of windows API first? I don't want to make console programs for the rest of my life...Getting REALLLY boring (1=Add 2=Subtract 3=Exit) *sigh*
As I implied, the Windows API is anything but "noob-friendly" ;)

There is a LOT more to console programming than (1=Add 2=Subtract 3=Exit). You can write console programs that solve expressions like 1+4/9*(18%10). However, if you're REALLY bored, then none of us will try to stop you from learning to create GUIs. We still recommend using libraries that are not limited to the Windows platform, like... actually QT4 is a good one.
http://qt.nokia.com/products
http://sector.ynet.sk/qt4-tutorial/

If you still insist on making a direct jump, maybe it would help you if you started out with reading MSDN's reference for the Windows API functions, and then tried the tutorial again?
http://msdn.microsoft.com/en-us/library/ty9hx077(v=VS.100).aspx

-Albatross
Last edited on
closed account (z05DSL3A)
Here is another resource:
Learn to Program for Windows in C++
http://msdn.microsoft.com/en-us/library/ff381399%28v=VS.85%29.aspx

You can also look at getting a copy of
Programming Windows 5th Edition
by Charles Petzold

Follow that with
Windows via C/C++ 5th Edition
by Jeffrey Richter and Christophe Nasarre

First time poster, long time lurker :)

I would just like to echo the postings of Grew Wolf above. I too have been recently dabbling with the Win32 API for the first time having come from a first year uni course learning basic console based c++.

The first time I looked at the skeleton code required to produce a window I must admit I did feel a little giddy, but it really isn't all that bad if you break the code down into it's parts. I would particularly recommend doing the winprog tutorial in tandem with the MSDN articles, inparticular the one at:

http://msdn.microsoft.com/en-us/library/bb384843.aspx

I did note that I had to make a few cosmetic changes to the code on the winprog tutorial to make it compile, but nothing too radical.

Guess the best advice is to keep plugging away at it and don't give up! That, at least, is what i'm telling myself.

Happy hunting!
Topic archived. No new replies allowed.