Game componenet missing

Hello can anybody help me?
I am creating a game here is the code with the error:

#include "Library.h"

;void main();
{

// Generic welcome screen.

cout << "\n\nWelcome to WRATH LANDS\n";
cout << "Programmed by Timothy Thompson\n\n";

cout << "An evil demon creature known as the wraith lord has taken control of the\nworld. He controls a vast army of evil creatures who kill people for fun.\nYou must rise against the wraith lord and kill all his minions.\n\n";

Wait();

Crossroads();

cout << "\n\nThank you for WRATH LANDS! Please play again soon.\n\n"
}

Here is the error I get:

1>c:\documents and settings\timbo\my documents\visual studio 2008\projects\game\game\main.cpp(4) : error C2447: '{' : missing function header (old-style formal list?)
1>Helper.cpp

Please help.
Last edited on
Too many semicolons: change ;void main(); into void main()
Topic archived. No new replies allowed.