Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int x, y;
- struct bin data;
- struct map *dev[3];
- };
- struct bin {
- struct oject *objects[5];
- };
- struct coord {
- int x;
- int y;
- };
- struct object {
- struct coord coord;
- int data;
- };
- int main()
- {
- struct map map;
- /*Loop through asking and inserting*/
- for (int i = 0; i < 5; i++) {
- }
- while (1);
- return 0;
- }
- int insert(struct object object, struct map map) {
- }
- int getCoord(int *x, int*y) {
- printf("Please enter the coordinates:");
- printf("x:");
- *x = getInt();
- printf("y:");
- *y = getInt();
- return 0;
- }
- int getInt() {
- int i;
- scanf("%d", i);
- return i;
- }
- struct object getObejct() {
- }
Advertisement
Add Comment
Please, Sign In to add comment