I Need Help!!!

This is a discussion on I Need Help!!! within the C++ Programming forums, part of the General Programming Boards category; Hello any friendly programmers out there, I am trying to do my final project for programming class and i can ...

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    2

    Angry I Need Help!!!

    Hello any friendly programmers out there,


    I am trying to do my final project for programming class and i can not get my final project to work because the initializer (.h) program wont work, the error says:
    Undefined symbol: _main in Project: casino.mcp, Target: C++ Console App Debug maincrt.obj.

    I someone out there can tell me what his error means... and how to solve it...i would really appreciate it...thanks kyle

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,494
    It means you didn't provide a main() function - you should know this if you've got to the stage of final project

    Code:
    int main ( ) {
      cout << "Good - now add code to call the rest of your prog" << endl;
      return 0;
    }

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21