Thread: c++ books or ebooks

  1. #1
    Registered User
    Join Date
    Feb 2004
    Posts
    8

    c++ books or ebooks

    I need a good book to star programing in c++ for windows so far I have only programed in console

  2. #2
    Registered User Dante Shamest's Avatar
    Join Date
    Apr 2003
    Posts
    970

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    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

  4. #4
    Registered User
    Join Date
    Feb 2004
    Posts
    8
    how about samo internet tuturials ????

  5. #5
    Registered User Dante Shamest's Avatar
    Join Date
    Apr 2003
    Posts
    970
    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/

  6. #6
    Registered User Micko's Avatar
    Join Date
    Nov 2003
    Posts
    715
    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?

  7. #7
    Registered User Dante Shamest's Avatar
    Join Date
    Apr 2003
    Posts
    970
    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*.

  8. #8
    Registered User
    Join Date
    Feb 2004
    Posts
    127
    Originally posted by Dante Shamest
    No, you should learn at least core C first before attempting to learn Windows programming with the Win32 API.

    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?

  9. #9

  10. #10
    Registered User
    Join Date
    Feb 2004
    Posts
    127
    But i heard( i dont know if it is true or not) that MFC is API but with additive classes that facilitates programming

  11. #11
    Registered User Dante Shamest's Avatar
    Join Date
    Apr 2003
    Posts
    970
    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.

  12. #12
    Registered User
    Join Date
    Feb 2004
    Posts
    127
    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.
    oooh , so is it better to start with c# ??

    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

  13. #13
    Registered User dalek's Avatar
    Join Date
    May 2003
    Posts
    135
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What are some good books on C?
    By php111 in forum C Programming
    Replies: 9
    Last Post: 10-01-2008, 06:16 AM
  2. C++ Books
    By Darklighter in forum C++ Programming
    Replies: 8
    Last Post: 01-03-2006, 07:13 PM
  3. Reference Books at Work and Home
    By kuphryn in forum Tech Board
    Replies: 2
    Last Post: 05-20-2004, 05:59 AM
  4. Good books?
    By Unregistered in forum C++ Programming
    Replies: 14
    Last Post: 02-10-2002, 01:58 PM
  5. Books Books Books
    By aresashura in forum Game Programming
    Replies: 5
    Last Post: 12-28-2001, 09:08 PM