Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <iostream>
- #include <fstream>
- #include <string>
- #include "ModelingObject.h"
- #include "Events.h"
- using namespace std;
- int main()
- {
- setlocale(LC_ALL, "rus");
- Dragonfly drag;
- Hedgehog hed;
- Frog fr;
- Stork st;
- cout << "drag" << endl;
- drag.coord_x()=1;
- cin >> drag.coord_y();
- cin >> drag.coord_z();
- cin >> drag.speed_x();
- cin >> drag.speed_y();
- cin >> drag.speed_z();
- cin >> drag.get_sense();
- cout << "frog" << endl;
- cin >> fr.coord_x();
- cin >> fr.coord_y();
- cin >> fr.speed_x();
- cin >> fr.speed_y();
- cin >> fr.get_sense();
- Event.obj = drag;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement