void DetSim(int x2, int y2, char b) { p = NULL; SimVieta *d = new SimVieta; d->a = b; d->x1 = x2; d->y1 = y2; d->sek = p; p = d; };