Results 1 to 24 of 24

Thread: Visual C++

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2001
    Posts
    140
    I was messing around with Visual C++ yesterday(haven't gotten to it yet today) and I was just screwing around with controls. Is there somewhere where I can learn from the very beginning Visual C++? I couldnt' figure out how to add tabs to the tab control and alot of other stuff.
    -Nean

  2. #2
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    Hehe, controls is way beyond the very beginning of C++ (note that Visual C++ is just Microsoft's IDE/compiler, the language is called C++)

    You should stick with console apps until you are comfortable with pointers, strings and arrays (and the relationships between them). C++ is the kind of language which you're best off getting a good book on. Beginning Visual C++ 6 by Ivor Horton (published by Wrox Press) is a good introduction, which starts off with console apps and leads into Windows apps. For non-platform specific, general C++ reference, C++: How To Program by Deitel and Deitel is good.
    Harry.

    "From one thing, know ten thousand things."

  3. #3
    Guest
    A book I recommend is Teach Yourself Visual C++ in 21 days.

    Also, keep in mind that many of the books are written using MFC. Once you get comfortable enough with the C++ language, you can start to code your own Apps which do not use any MFC.

  4. #4
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  5. #5
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    2 quick questions:

    1) Does the Ivor Horton book explain API, MFC or both?

    2) Does the Dietel and Dietel book explain any windows programming? Or is it just general C++?

    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA

  6. #6
    Addicted Member substring's Avatar
    Join Date
    Feb 2001
    Posts
    148
    Dietel book, the 3rd and latest version, covers primarily on the language itself. Topics from pointers to arrays to classes to inheritance to STL, but not specifically for Windows programming. However, it is THE BEST BOOK to start on the language. You have to understand totally (not just vaguely) all those concept before you should move on to Windows programming.

    By the way, the new Dietel book also includes coverage on UML.

    Hope this helps.
    substring.

    VB6, C++, SQL, HTML, XML, ASP

  7. #7
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    Yeah the Deitel & Deitel book is plai C++, with a very thorough explanation of the language and object orientation. The latest, 3rd edition has some UML too but I don't know what it's like since I have the second edition.

    The Ivor Horton book starts off with plain C++, then moves into Windows programming with API, and then the last few chapters are based on MFC. It's apparently not very good at explaining the MFC but that didn't bother me since I don't plan on using MFC any time soon. It's a very good introduction to Windows programming with C++ & API though.
    Harry.

    "From one thing, know ten thousand things."

  8. #8
    Frenzied Member Technocrat's Avatar
    Join Date
    Jan 2000
    Location
    I live in the 1s and 0s of everyones data streams
    Posts
    1,024
    Originally posted by HarryW
    The Ivor Horton book starts off with plain C++, then moves into Windows programming with API, and then the last few chapters are based on MFC. It's apparently not very good at explaining the MFC but that didn't bother me since I don't plan on using MFC any time soon. It's a very good introduction to Windows programming with C++ & API though.
    Harry is right, if you want to learn MFC get a different book. Ivor does a real brief job of it. But its an excellent book on everything else. I highly recommend it.
    MSVS 6, .NET & .NET 2003 Pro
    I HATE MSDN with .NET & .NET 2003!!!

    Check out my sites:
    http://www.filthyhands.com
    http://www.techno-coding.com


  9. #9
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    Thanks for the info, they both sound like the right books for me, but i think i better start out with the Dietel & Dietel one, because i am more interested in the language itself, and multi platform stuff, rather than windows. However sometime i will move to windows.

    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA

  10. #10
    Guest
    Sadly, you'll find that most Visual C++ books deal with MFC rather than standard API.

  11. #11
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    You pretty much need to learn the language before you can use the API at all...it really drops you in the deep end

    For raw technical info you can get Stroustrup's book (is that how you spell it?), but it's a bit heavy in places.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  12. #12
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    What is Straustrups book called?

    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA

  13. #13
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    "The C++ Language" I think.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  14. #14
    Guest
    I've one of Stroustroups books, it is called "The C++ Programming Language"

  15. #15
    Addicted Member substring's Avatar
    Join Date
    Feb 2001
    Posts
    148
    Yeah, the Stroustrups book just published the 3rd edition also. It is one of the books that you *must* have for your C++ book library or your library is not complete.
    substring.

    VB6, C++, SQL, HTML, XML, ASP

  16. #16
    Guest
    That's the one I have

    It's Special Edition. So it has a hardback cover, and weighs a lot.

  17. #17
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    so, i gather that the complete C++ library must have:

    Ivor Hortons book
    Dietel & Dietels book
    Stroustrups book

    any others?

    i better start saving my money...

    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA

  18. #18
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    Not strictly a C++ book, but widely acclaimed as essential is "Design Patterns: Elements of Reusable Object Oriented Software", ISBN 0-201-63361-2. It's all about common problems in OO designs, and the best solutions to them. There's a second book I think, but I only have the first one.
    Harry.

    "From one thing, know ten thousand things."

  19. #19
    Addicted Member substring's Avatar
    Join Date
    Feb 2001
    Posts
    148
    sail,

    ...and the C++ Primer book by Lippman and Lajoie.
    substring.

    VB6, C++, SQL, HTML, XML, ASP

  20. #20
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    man, i just went to the book store to get the book by Dietel and Dietel (3rd edition) and it was $65 (USD)! It was colored and looked very good though.

    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA

  21. #21
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    Is $65 a lot? How much were you expecting it to be?

    Amazon.co.uk has it listed at £27.19, which is 20% off.

    Amazon.com has it listed at $70.

    I'm not sure what $65 is in UK Pounds Sterling but to me £30 isn't that much for a good book.
    Harry.

    "From one thing, know ten thousand things."

  22. #22
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    when you don't have a job, $65 is definatly a lot.
    I was expecting it to be a lot though, especially after i saw that it was in color and everything.

    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA

  23. #23
    Addicted Member substring's Avatar
    Join Date
    Feb 2001
    Posts
    148

    Smile

    I paid $70 for mine. Actually, if they take off the VC++ CD, it is probably a lot cheaper. I already have Visual Studio and I don't need that CD.... hmm, I wonder if I can sell it back to them... haha, fat chance.
    substring.

    VB6, C++, SQL, HTML, XML, ASP

  24. #24
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    Maybe, but probably not, since it's only the learning edition, probably only cost a coupla quid (or bucks if you use dollars) to add it.
    Harry.

    "From one thing, know ten thousand things."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width