I an new in C++. I just program in Delphi and Java. Where are the windows forms?

Posted on 2004-10-25
Last Modified: 2010-04-01
Hi folks,

I know this is a very NEWBIE question but it is a question :)
I use Delphi and Java to program and never "touch" in C++. I just bought one book from DEITEL (C++ - How to Program), but i didnt see any WINDOW form. In Delphi, i work with FORMs. In Java, i use the SWING library to develop GUI. And in C++? I heard that MS Windows and many others programs and GAMES were created with C++ but i didnt imagine how someone could develop it if i even dont see any FORM in my book :(

Could someone give some "LIGHTS"? I will deeply thank you if you indicate some TUTORIAL or ARTICLE about my NOOB question.

Best regards for everybody... If you have time, take a look at my personal Delphi/Java website (it´s in portuguese language.... sorry) -

Best regards.

Question by:joelsilva
    LVL 3

    Accepted Solution


    First, in my opinion, the Deitel book is not a very good C++ book, as there are some inconsistencies there. You can find some good programming books on

    Second, if you want to do GUI programming, you should pick up a specific book on it, since C++ standard does not specify anything regarding GUI, e.g. if you want to create GUI for Windows, any Visual C++/MFC textbooks will tell you how to do it.

    I have never programmed using Delphi before, so I don't know how Delphi GUI programming works, but C++ Windows GUI programming is mainly using Document/View architecture, where the document is (normally) used to hold the data, and the views are (normally) used to create a graphical representation of the data. You can find more specifics on any good Visual C++/MFC books.

    Author Comment

    Thank you very much man... Sorry, but what is MFC?
    LVL 3

    Expert Comment

    No problem,

    MFC is Microsoft Foundation Classes, a collection of C++ classes that (mostly) encapsulate Win32 API (interface with which you interact with Windows OS), while providing some additional functionalities. You can also create GUI directly using Win32 API, but I believe it'll be much easier if you start with MFC first.
    LVL 15

    Expert Comment

    There are other GUI toolkits you can use besides MFC.  See:

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
    Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
    The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
    The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

    913 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now