#include <iostream>
#include <string>
using namespace std;
void mian()
{
string str;
for (;cin>>str;)
cout<<str;
cout<<endl;
}以下是报错:
--------------------Configuration: jjkj - Win32 Debug--------------------
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/jjkj.exe : fatal error LNK1120: 1 unresolved externals
执行 link.exe 时出错.jjkj.exe - 1 error(s), 0 warning(s)