Advertisement
Guest User

Untitled

a guest
Oct 20th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #pragma once
  2. enum FileError {
  3. SUCCESS, ACCESS_DENIED,
  4. OUT_OF_BOUNDS, FILE_INVALID
  5. };
  6.  
  7. struct Point
  8. {
  9. double x;
  10. double y;
  11. double z;
  12.  
  13. Point() :x(0.0), y(0.0), z(0.0) {}
  14. Point(double x, double y, double z) :x(0.0), y(0.0), z(0.0) {
  15. Point::x = x;
  16. Point::y = y;
  17. Point::z = z;
  18.  
  19. }
  20. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement