I need a good book to star programing in c++ for windows so far I have only programed in console
I need a good book to star programing in c++ for windows so far I have only programed in console
I highly recommend these books on windows programming via MFC. Make sure you study them in this exact order.
Introduction to MFC Programming with Visual C++ by Richard M. Jones
Programming Windows With MFC by Jeff Prosise
Kuphryn
how about samo internet tuturials ????
This is one of the most popular windows programming tutorial sites. Uses Windows API.
http://www.winprog.net
By our very own Ken Fitlike. Lots of examples in Windows API.
http://www.foosyerdoos.fsnet.co.uk/
GameTutorials contains a bunch of Windows API source code.
http://www.gametutorials.com/Tutoria.../Win32_Pg1.htm
Yet another windows programming tutorial site. Uses Windows API.
http://www.sunlightd.com/default2.htm
A more advanced Windows API site. Contains stuff you can't find elsewhere.
http://www.catch22.org.uk/
Highly popular general windows programming site. More MFC and .NET oriented.
http://www.codeproject.com/
I have similar dilemma!
I have been learning C++ since november mostly from books
teach yourself c++ in 21 days and eckel's thinking in c++.
That is programming for console. When I feel that I have solid knowledge of basics things I decide to move on windows programming and start using Visual C++ in 21 days book but I come to these:
HINSTANCE
LPSTR
and simmilar, practicly nothing I already know.
Now I'm wondering that mybe I was wasting time reading Eckel's books (which is excellent).
Maybe one should start learning Visual C++ at first.
What is your experience?
No, you should learn at least core C first before attempting to learn Windows programming with the Win32 API.
Those weird types like HINSTANCE and LPSTR are simply typedef-ed versions of int and char*.
so what about MFC .. i heard it's much easier and faster than Win32 API is that enough for me to know C++ before starting MFC?Originally posted by Dante Shamest
No, you should learn at least core C first before attempting to learn Windows programming with the Win32 API.
But i heard( i dont know if it is true or not) that MFC is API but with additive classes that facilitates programming
Facilitates? That depends on who you ask.
In any case, MFC's days are numbered. If you spend the time to learn it now, you may be wasting your time, since it'll be used less and less in the future because of the new .NET framework. The API will still be around for some time to come as the .NET framework doesn't wrap all of it.
oooh , so is it better to start with c# ??Originally posted by Dante Shamest
Facilitates? That depends on who you ask.
In any case, MFC's days are numbered. If you spend the time to learn it now, you may be wasting your time, since it'll be used less and less in the future because of the new .NET framework. The API will still be around for some time to come as the .NET framework doesn't wrap all of it.
I know that .Net framework is spreading and it will dominates windows programming soon but for me i wanted to start MFC to enter windows programming easily as i heard that Win32 API is more difficult
also i heard that C# is very easy to learn if you already know VC++ and the questionn is which VC++ is it by MFC or API ?
thanks in advance
Mmm, yeah, but I would argue that MFC has it's own idiosyncrasies that make it just as "fun".
MFC is not bad, has it's place, but I would just go with straight API. At the end of the day (to me anyway) MFC seems more complicated in the strictest sense of the word, its just that there is more to remember with Win32 API.
An article I read RE: .NET and Microsoft, seemed to indicate that (at an early stage) C# may be the prefered development language under windows Longhorn. Also - at that time (some months ago now), it looked as though they would try to rationalise and simply the Win32 API for this release.
Hunt around, you may find the article - it was very interesting reading.