fork download
  1. DPoint swap(DPoint&a, DPoint&b)
  2. {
  3. DPoint Temp;
  4. Temp.X = b.X;
  5. Temp.Y = b.Y;
  6. a.X = b.X;
  7. a.Y = b.Y;
  8. b.X = Temp.X;
  9. b.Y = Temp.Y;
  10. }
  11. DPoint operator=(DPoint a)
  12. {
  13. swap(*this,a);
  14. return *this;
  15. }
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty