CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2011

    default project in Visual C++

    I am lecturer in Armenian University. I teach “Programming in C++”. During my lecture I demonstrate and execute on the screen many independent C++ programs using Microsoft IDE (Visual C++). Many years I used Visual C++ 6.0. I executed programs just by double-clicking .cpp file without creating project. Visual C++ 6.0 created default project automatically. It was very convenient. Now I use new version - Visual C++ 2008 Professional Edition which has not such possibility. It is not convenient because I have to create project for each .cpp file.

    My question:
    Is there a version of modern Visual C++ which has this possibility? Thank you in advance.

  2. #2
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003

    Re: default project in Visual C++

    How would you expect it to know what type of project you were interested in creating?

  3. #3
    Join Date
    Sep 2004
    Holland (land of the dope)

    Re: default project in Visual C++

    I executed programs just by double-clicking .cpp file without creating project.
    Never heard of this, and also, as GCDEF points out, how is that possible ? If you open a 'random' cpp file, you don't have a main, and even with a auto-generated main, the studio doesn't know what functions to call that are inside the cpp file.

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

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.