Thread: C++ console program using Ms Visual Studio .NET

  1. #1
    Registered User matheo917's Avatar
    Join Date
    Sep 2001
    Posts
    279

    C++ console program using Ms Visual Studio .NET

    Does anyone here know how to go about creating a (dos) console program using Microsoft Studio .NET (proffesional version - if it matters).... Just a simple "hello world" program so it will be able to appear in a dos console (black) screen, without starting some big projects???

    Thanks in advance
    matheo917

  2. #2
    Registered User xds4lx's Avatar
    Join Date
    Nov 2001
    Posts
    630
    Select a win32 application, then when the dialog pops up select application settings->console application
    "only two things are infinite, the universe and human stupidity, and im not sure about the former." - albert einstein

  3. #3
    Registered User matheo917's Avatar
    Join Date
    Sep 2001
    Posts
    279
    so far so good, but after that where do i type my source code ....???

    where's the white screen??? hmmm ....

  4. #4
    Registered User matheo917's Avatar
    Join Date
    Sep 2001
    Posts
    279
    ok ..... i got the white screen..all i did is added a new item,,,, "c++ file" compiles and links fine however can't get it run the executable file right away......in Microsoft Visual C++ 6.0 you had a nice option in the Build tab, you could click on "Run the executable" and you would see the output..... this .NET seems not to have such thing... hmmm???

  5. #5
    Registered User xds4lx's Avatar
    Join Date
    Nov 2001
    Posts
    630
    You have to add the button onto the build menu. Click on Tools->Customize->Commands->Debug->Start Without Debugging, then drag it to the build menu and your set.
    "only two things are infinite, the universe and human stupidity, and im not sure about the former." - albert einstein

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Console Font Size
    By bradszy in forum Windows Programming
    Replies: 34
    Last Post: 04-26-2008, 07:09 AM
  2. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  3. Linking error
    By DockyD in forum C++ Programming
    Replies: 10
    Last Post: 01-20-2003, 05:27 AM
  4. Visual Studio .NET beta 2
    By Marky_Mark in forum C++ Programming
    Replies: 1
    Last Post: 11-05-2001, 11:28 AM
  5. Visual J#
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 10-08-2001, 02:41 PM