Zrobilem sobie w borlandzie 2 takie klasy:
class punkt {
public:
float x,y;
void poz(float a, float b) {x=a; y=b;};
};
//---------------------------------------------------------------------------
class kolo{
int lw, xo, yo;
float alfa, delta, rx, ry;
punkt p[100000];
public:
kolo();
kolo(int l,float r1, float r2, int x1, int y1, float d);
void rafal1(int l,float r1, float r2, int x1, int y1);
void rafal2(int l,float r1, float r2, int x1, int y1);
void gwiazda(int l,float r1, float r2, int x1, int y1);
void zmien(int l,float r1, float r2, int x1, int y1, float d);
void spirala(int l,float r1, float r2, int x1, int y1,float d, int il);
void spirala4(int l,float r1, float r2, int x1, int y1,float d);
void draw();
};
I mam problem bo jak stworze tablice obiektow kolo wieksza niz 20 to wyskakuje taki blad:
[Linker Error] Fatal: Access violation. Link terminated.
Czym to moze byc spowodowane, ma ktos jakiess pomysly?