your using C++ right where's return 0;?? you should have return 0; in your script or else your program will have syntax error.