CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    May 2014
    Posts
    72

    How to start Visual C++ in a fast way

    Hello guys,

    I have a good experience about C++ console applications and now I'm at the 14th chapter of the book (http://www.stroustrup.com/programming1.html) with all the exercises solved by my own effort.
    I know if I wait I can learn the visual C++ from that book but I need to learn the visual part (for creating a small app) on C++ now. What way do you suggest me please?
    Is there good tutorials here for that purpose?

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: How to start Visual C++ in a fast way

    using MFC would be the easiest way for the beginner to develop UI under Windows.
    Victor Nijegorodov

  3. #3
    2kaud's Avatar
    2kaud is offline Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    7,822

    Re: How to start Visual C++ in a fast way

    For MFC, the first book I would suggest is Programming Windows with MFC by Jeff Prosise http://www.amazon.co.uk/Programming-...fc+programming. Note that MFC programming requires a good working knowledge of c++ classes. (Chapter 14 and Appendix A.12 in your book).

    Depending upon what you wish to achieve, the book uses FLTK to produce graphical programs (as you will have come across from Chapter 12 onwards).
    All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!

    C++23 Compiler: Microsoft VS2022 (17.6.5)

  4. #4
    Join Date
    May 2014
    Posts
    72

    Re: How to start Visual C++ in a fast way

    OK guys thank you both of you very much.
    @2Kaud: That book is written from 1999! Isn't it out dated?
    But except from MFC, I've heard about QT.
    What do you think of that? Which one is more worth to learning? Or should I start QT after MFC?
    Last edited by abbassi; June 10th, 2014 at 07:06 AM.

  5. #5
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: How to start Visual C++ in a fast way

    Quote Originally Posted by abbassi View Post
    OK guys thank you both of you very much.
    @2Kaud: That book is written from 1999! Isn't it out dated?
    No.
    However, there are some new MFC classes implemented in 2008
    Victor Nijegorodov

  6. #6
    Join Date
    Jul 2013
    Posts
    576

    Re: How to start Visual C++ in a fast way

    Quote Originally Posted by abbassi View Post
    bout C++ console applications and now I'm at the 14th chapter of the book (http://www.stroustrup.com/programming1.html) with all the exercises solved by my own effort.
    I know if I wait I can learn the visual C++ from that book but I need to learn the visual part (for creating a small app) on C++ now. What way do you suggest me please?
    Is there good tutorials here for that purpose?
    If you've used that book extensively so far why not try out the GUI library the author suggests namely FLTK.

    http://www.fltk.org/index.php

    I haven't used it myself but it seems very nifty and not too big and complicated. And if you want to develop user interfaces "visually" it seems to come with a UI builder called FLUID.
    Last edited by razzle; June 10th, 2014 at 02:07 PM.

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

Featured