#include "iostream"
using std::cin;
using std::cout;
using std::endl;
#include "iomanip"
using std::setw;
#include "cstdlib"
int mian()
{
unsigned seed;
cout<<"Enter seed:";
cin>>seed;
srand(seed);
for(int counter=0;counter<10;counter++)
{
cout<<setw(10)<<(1+rand()%6);
if(counter%5==0)
cout<<endl;
}
return 0;
}
--------------------Configuration: 3_9 - Win32 Debug--------------------
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/3_9.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
3_9.exe - 2 error(s), 0 warning(s)