hero0765
Member level 2
hi:
I want to run the below code in the the visual C++
#include<iostream>
#include<cstdlib>
#include<iomanip>
using namespace std;
int main(int argc,char * argv[])
{
cout << "argc = " <<argc <<endl;
for(int i =1; i<argc ;i++)
cout << "argv[" << i <<"] = "
<< argv << endl;
}
but the compiler run error:
: fatal error C1071: unexpected end of file found in comment
My project was built in the Win32 Console Application.
how can I disolve it ?
I want to run the below code in the the visual C++
#include<iostream>
#include<cstdlib>
#include<iomanip>
using namespace std;
int main(int argc,char * argv[])
{
cout << "argc = " <<argc <<endl;
for(int i =1; i<argc ;i++)
cout << "argv[" << i <<"] = "
<< argv << endl;
}
but the compiler run error:
: fatal error C1071: unexpected end of file found in comment
My project was built in the Win32 Console Application.
how can I disolve it ?