Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.27 KB | None | 0 0
  1. #include "stdafx.h"
  2. #include <iostream>
  3. using namespace std;
  4. using namespace System;
  5.  
  6. class climate
  7. {
  8.     float temperature;
  9.     int light; // %
  10.     int water; // %
  11.     int cys; // %
  12. public:
  13.     climate();
  14.     ~climate();
  15.  
  16.     friend void enter_value(climate* a, climate_build* b, climate_street* c);
  17.     friend void print_value(climate* a, climate_build* b, climate_street* c);
  18. private:
  19.  
  20. };
  21.  
  22. class climate_build
  23. {
  24.     int optical_climate; // %
  25.     int permit;
  26. public:
  27.     climate_build();
  28.     ~climate_build();
  29.  
  30.     friend void enter_value(climate* a, climate_build* b, climate_street* c);
  31.     friend void print_value(climate* a, climate_build* b, climate_street* c);
  32.  
  33. private:
  34.  
  35. };
  36.  
  37. class climate_street
  38. {
  39.     int critical_water; // %
  40.     int critical_cys; // %
  41. public:
  42.     climate_street();
  43.     ~climate_street();
  44.  
  45.     friend void enter_value(climate* a, climate_build* b, climate_street* c);
  46.     friend void print_value(climate* a, climate_build* b, climate_street* c);
  47. private:
  48.  
  49. };
  50.  
  51. void enter_value(climate* a, climate_build* b, climate_street* c)
  52. {
  53.  
  54. }
  55.  
  56. climate_street::climate_street()
  57. {
  58. }
  59.  
  60. climate_street::~climate_street()
  61. {
  62. }
  63.  
  64. climate_build::climate_build()
  65. {
  66. }
  67.  
  68. climate_build::~climate_build()
  69. {
  70. }
  71.  
  72. climate::climate()
  73. {
  74. }
  75.  
  76. climate::~climate()
  77. {
  78. }
  79.  
  80. int main()
  81. {
  82.  
  83. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement