i need a book that deals with win32 application in c++ in dev or visual studio both would be good.
i need a book that deals with win32 application in c++ in dev or visual studio both would be good.
What are you looking for ... Windows API?
theForger's Win32 API Tutorial
That will get you started...
The really big story is on msdn...
MSDN Library
If It's windows... it's there.
You can use wikipedia to satisfy your all needs or use Brent Rector, Joseph M. Newcomer book which may be useful for you..
Wikipedia isn't much of a Windows programming resource... If you're looking for detail on a particular function, you should go right to the source MSDN... the MicroSoft Developer's Network... published by the authors of the code itself. You can also download the entire Windows API help data base and a bunch of useful tools in the Windows SDK if you want the information available locally.
There are a number of good books out there, even the worst of them will teach you something. But it seems most people get started on the Forger's site.
Yah CommonTater... Its true.. But wikipedia helps to get some actual program structures in some case. But as u said, MSDN is more useful than wikipedia.. Thanks..
"Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
Friedrich Nietzsche
"I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
George Best
"If you are going through hell....keep going."
Winston Churchill
And I should think it obvious that problem is going to get worse with time.
Just look at some of the stuff we see here... "My father got sick, I had to care for him, the assignment is due tomorrow"... Yeah right... I'd also bet real money half of the code we are asked for help debugging here comes straight from some website or someone else's course notes.
People simply do not value craftsmanship anymore.
We used to care about how well we did our jobs... now all we seem to care about is getting the paycheck while actually doing as little as possible to earn it.
Old saying.... If it's worth doing at all it is worth doing right.
Last edited by CommonTater; 05-14-2011 at 02:35 AM.
If its Windows based and poor quality, no doubt it came directly from MSDN. Their sample code is diabolical. The libraries they make available aren't much bettereither. They released a library with C++ and C# components, can't remember what it was for now but I took one at the C++ class and spotted 5 memory leaks in about 200 lines. And this was joint published with an MVP's involvement too.
You'd think that'd guarantee it some kind of quality. It's fine on generalities and you can trust the prototypes (mostly), but all too often it gets the little details wrong. For example, GetMessage doesn't return -1 on an invalid message pointer, it crashes (if it's not NULL). Likewise the completion routine to ReadFileEx isn't optional, and will crash if you give it NULL.If you're looking for detail on a particular function, you should go right to the source MSDN... the MicroSoft Developer's Network... published by the authors of the code itself.
It's the best we have, but it's far from perfect. And then there's the functions they don't tell you about, which aren't all of the 'only useful to other MS components' type.