Advertisement
Guest User

Untitled

a guest
Sep 13th, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.49 KB | None | 0 0
  1. #pragma once
  2. class Foot
  3. {
  4. public:
  5.     float foot;
  6.     Foot();
  7.     Foot(float foot);
  8.     ~Foot();
  9.  
  10. };
  11.  
  12.  
  13. #include "Inch.h"
  14.  
  15.  
  16. Inch::Inch(float inch)
  17. {
  18.     this->inch = inch;
  19. }
  20.  
  21.  
  22. Inch::~Inch()
  23. {
  24. }
  25.  
  26.  
  27. #pragma once
  28. class Inch
  29. {
  30. public:
  31.     float inch;
  32.     Inch();
  33.     Inch(float inch);
  34.     ~Inch();
  35.  
  36. };
  37.  
  38. #include "Mile.h"
  39.  
  40. Mile::Mile(float mile)
  41. {
  42.     this->mile = mile;
  43. }
  44.  
  45. Mile::~Mile()
  46. {
  47. }
  48.  
  49. #pragma once
  50. class Mile
  51. {
  52. public:
  53.     float mile;
  54.     Mile();
  55.     Mile(float mile);
  56.     ~Mile();
  57.  
  58. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement