Program not starting, need some help.

This is my first post ever, so go easy on me. I'm trying to run this application, but for some reason it's telling me that it cannot run because it can't find the file to run it. It's a Win32 Console application. Yet it still doesn't Run.

Here are the errors:

1.) error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup

2.) error LNK1120: 1 unresolved externals

//Purpose: Displays the total owed
//Created/revised by Daniel Swanson on 3/15/2013

#include <iostream>
using namespace std;

int Main()
//declare variables and named constants
int hours = 9;
int totalOwed = 9;
const int FEE_PER_HOUR = 100;
const int ROOM_BOARD = 2000;

//enter hours enrolled
cout << "Hours Enrolled? ";
cin >> hours;

//calculate total owed
totalOwed = hours * FEE_PER_HOUR + ROOM_BOARD;

//display toal owed
cout << "Total Owed: $" << totalOwed << endl;

return 0;

it int main(), not int Main()
Wow I'm so bad at this. Thank you very much. I'll never make this mistake again.
Topic archived. No new replies allowed.