IDE debugging?

"Expected initializer before int" probably means that you're missing some sort of statement terminator before a line that begins with the keyword "int." For example, a quick google on the phrase turns up a case where someone did:

void Move (int &x, int&y, string direction)
int main ()
{}

and I can get the same error from a sequence like:

int xyz
int led = 13;

C is (or should be) infamous for producing lousy error messages in the face of missing punctuation.