You are missing an '{' after this line:
int main(int argc, char* argv[])
Which means that the rest of your code is not a part of the
main
function at all, and I'm amazed that the error message your get is the only one ...
And why on earth do you have brackets round a string literal?