Advertisement
Guest User

Untitled

a guest
May 24th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. circle *change = new circle;
  2. if (structpoint[j]->x > structpoint[j+1]->x) //в условии обращаемся по указателю
  3. {
  4. change = structpoint[j];
  5. structpoint[j] = structpoint[j+1];
  6. structpoint[j+1] = change;
  7. }
  8. delete change;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement