Advertisement
Guest User

main.eco

a guest
Oct 22nd, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.63 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <iostream>
  4. #include <fstream>
  5. #include <string>
  6. #include "ModelingObject.h"
  7. #include "Events.h"
  8.  
  9. using namespace std;
  10.  
  11. int main()
  12. {
  13.     setlocale(LC_ALL, "rus");
  14.     Dragonfly drag;
  15.     Hedgehog hed;
  16.     Frog fr;
  17.     Stork st;
  18.     cout << "drag" << endl;
  19.     drag.coord_x()=1;
  20.     cin >> drag.coord_y();
  21.     cin >> drag.coord_z();
  22.     cin >> drag.speed_x();
  23.     cin >> drag.speed_y();
  24.     cin >> drag.speed_z();
  25.     cin >> drag.get_sense();
  26.  
  27.     cout << "frog" << endl;
  28.     cin >> fr.coord_x();
  29.     cin >> fr.coord_y();
  30.     cin >> fr.speed_x();
  31.     cin >> fr.speed_y();
  32.     cin >> fr.get_sense();
  33.  
  34.     Event.obj = drag;
  35.  
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement