Miscellany
public cpp v1 · immutable for(int i=0;i<n;i++){ do{ l=false; printf("Kerlek add meg a(z) %i-dik komplex szamot (x,y) alakban: ",i+1); if(scanf("(%f,%f)",&x,&y)<2) cout<<endl<<"Hibas adatot adtal meg!"<<endl; else {tomb[i].SetX(x); tomb[i].SetY(y); l=true;} } while(!l); }