DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: How to create an empty project

  1. #1
    Join Date
    Mar 2005
    Posts
    38

    How to create an empty project

    I've learned how to create C++ Projects following the wizard to make a Win32 Console Application. That's not too hard but I'd like to learn how to create an empty project but I've having trouble. Here is what I did:

    1. Go into File - New Project. Highlight Empty Project.
    2. Give the project a name like "Welcome To Programming." Click OK.
    3. Go into Project - Add New Item. Highlight Code. Highlight CPP File.
    4. Give that a name like "Welcome To Programming." Then click Add.
    5. At this point I'm looking at a bare .cpp code window. There is nothing in it.
    6. Now I start typing in usual simple code stuff.

    Now I can build it successfully and I can compile it successfully but when I try to run it it says:

    No debugging information. Debugging information for Welcome To Programming.exe cannot be found or does not match. Binary was not built with debug information.

    What am I doing wrong? I'm using Visual Studio 2005.

    Wait... I see a window on my taskbar that looks like the program has in fact run. So I guess it ran but what is with that message about having no debugging info?
    Last edited by 357mag; 05-02-2010 at 12:07 AM.

  2. #2
    Join Date
    Mar 2005
    Posts
    38
    Ah...it turns out that Microsoft shut off debugging when you make an empty project so I found a series of steps to follow to turn off optimization and turn on debugging.

    It would be stupid though if you gotta go through these steps each and every time you write a new program.

  3. #3
    Join Date
    Dec 2003
    Posts
    3,366
    Quote Originally Posted by 357mag View Post
    Ah...it turns out that Microsoft shut off debugging when you make an empty project so I found a series of steps to follow to turn off optimization and turn on debugging.

    It would be stupid though if you gotta go through these steps each and every time you write a new program.
    The wizard default projects are good enough for almost any personal project, and can be edited into what you need for most professional ones as well. Those have a debug and release build that are pretty good to start with. Only the blank one left for the user to follow steps setting it up. If you don't want to set some 100 options, twice if you want a debug and release build, then don't use the blank one.

Similar Threads

  1. Replies: 1
    Last Post: 11-29-2006, 07:59 AM
  2. Replies: 1
    Last Post: 05-27-2006, 03:28 PM
  3. Can't create a new ASP.NET project
    By Bob in forum ASP.NET
    Replies: 1
    Last Post: 06-18-2003, 08:40 AM
  4. Good Editorial by Russell Jones
    By Robert G in forum .NET
    Replies: 84
    Last Post: 02-08-2001, 03:38 PM
  5. Software Engineering opportunity with RSW Software
    By Glenn McKee in forum Careers
    Replies: 1
    Last Post: 08-24-2000, 09:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center