close

Privacy guaranteed - Your email is not shared with anyone.

Visual Studio HELP!!!!

Discussion in 'The Lounge' started by PoleSnatcher, Apr 11, 2004.

  1. Every time I try to complie and debug I get this error message. I have no idea why.




    Program 'C:\Documents and Settings\A\Desktop\School\a\obj\Debug\a.exe' does not have an entry point defined


    PLEASE HELP!!!!!!!!!!!!!!!!
     
  2. What language and version of Visual Studio are you writing in? (C++, VB, version 4/5/6/.Net/2K3/Whidbey)? Almost sound like you may have a sub main either improperly defined or scoped or you may want to check your project properties for the program startup object and make sure it exists. Sometimes that setting can get out of whack when your deleting objects and writing your own to the wizard generated code.

    Barry
     

  3. I just installed it a couple days ago. Visual Studio.net 2003 Academic/profesional version. I havn't changed any steetings

    writing in C++, empty project witha .cpp file
     
  4. The project settings are defined on a per project basis. Do you have a sub main? I just did a quick test by creating an empty C++ project added a CPP file to it and wrote this code and got a clean compile without changing any settings:

    main ()
    {

    return;

    }