#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
int oczko() {
int karty[11]= {2,3,4,5,6,7,8,9,10,11};
srand(time(NULL));
cout<<karty[(rand()%11)]<<endl;
char odp;
cout << "Grasz dalej ? (T = TAK) (N = NIE) : "<<endl;
cin >> odp;
cout << endl;
if( (odp == 'T') || (odp == 't') )
{
srand(time(NULL));
cout<<karty[(rand()%11)]<<endl;
}
else if ( (odp == 'N') || (odp == 'n') )
{
cout<<"przegrales"<<endl;
}
return 0;
}
void Punkty(int g, int pg)
{
cout << "GRACZ NR " << g << endl;
cout << "PUNKTY = " << pg << endl;
}
Prosił bym o pomoc w wykryciu dlaczego pojawia się : [Error] ld returned 1 exit status