Well, the problem is apparent.

You're missing a very important element with programming:

Code:
int main(int argc, char *argv[])
{
  return 0;
}
You're missing the
Code:
#include <iostream>

using namespace std;
**Put this just before your [main(int argc...)] statement

like
Code:
#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
  return 0;
}