CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2012
    Posts
    4

    [RESOLVED] Console to forms

    Good morning everybody,
    I have been struggling searching on the internet for a few days now, I have been learning c++ and am getting quite proficient creating console applications, however i am struggling to find a basic tutorial to create a forms application that will just basically show output in a textbox from what my console application would have done anyway

    For example:
    Printf("loading...");
    // do something
    Printf("loaded\n");

    All contained in a form with a close button say

    If anyone knows a good place for me to start it would be very much appreciated

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

    Re: Console to forms

    It all depends on what you can or want to use.
    For native Visual C++ applications I'd recommend to use MFC.
    For managed C++ - Programming Windows Forms with Managed Extensions for C++
    Victor Nijegorodov

  3. #3
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: Console to forms

    Here is a basic tutorial for MFC (and VC++ 6, but you can simply skip the environment chapters) http://www.informit.com/library/libr...ual_C_PlusPlus. Pay attention to chapter 5: http://www.informit.com/library/cont...Plus&seqNum=60.
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

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