[RESOLVED] Basic classes to develop console programs
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: [RESOLVED] Basic classes to develop console programs

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Location
    England
    Posts
    23

    [RESOLVED] Basic classes to develop console programs

    I am fairly new to C++ programming and wish to start learning the language properly. Recently I have started to write some classes that allow me to create console programs. The issue I am having is that I can create a console window but it closes when I create another console window? It appears that only one console can be visible at a time. Could someone advise on how I can have 2 console windows open at a time?

    I don't wish to post all my code here (it's not big, but split into 7 files), however I have made it public for people to download at https://riouxsvn.com/svn/vmapi/trunk.

    Anyone that mentors me during the course of my project will be added to the svn as a user if they so wish.
    What the mind can conceive it can achieve.

  2. #2
    Join Date
    Jan 2009
    Location
    England
    Posts
    23

    Re: Basic classes to develop console programs

    Looking into this and I have found that it's not possible to have more than one console per process so I have decided to only allow for one console window to be created. I am thinking that perhaps it's possible to open a messagebox box instead if I need to output text to another window.
    What the mind can conceive it can achieve.

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center