Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- circle *change = new circle;
- if (structpoint[j]->x > structpoint[j+1]->x) //в условии обращаемся по указателю
- {
- change = structpoint[j];
- structpoint[j] = structpoint[j+1];
- structpoint[j+1] = change;
- }
- delete change;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement