My mind reading skills are a bit off today. Would you be so kind as to tell us what the compiler error was?

Please format your code for readability and post it using code tags. Type:

[code]

int main()
{
return 0;
}
[/code]

to give this:
Code:
  int main()
  {
    return 0;
  }
At a quick glance, it seems that there are more '}' than '{' characters.