关于c++问题求助各位大神

图片说明


#include "pch.h"
#include<stdlib.h>
#include<time.h>
#include<stdlib.h>
#include<conio.h>
#include<iostream>
using std::endl; using std::cout; using std::cin;
#define ERROR 0
#define FALSE 0
#define OVERFLOW -1
#define TRUE 1
#define OK 1
#define RANGE 10
#define h 12
#define w 12
#pragma warning(disable:4996)
typedef struct
{
    int r, c;
}PosType; // 坐标r表示行,c表示列

typedef struct
{
    PosType seat;
    int d;
}ElemType;//seat表示当前坐标,d表示当前要转的方向序号

typedef struct
{
    ElemType data[1000];
    int top;
}SqStack;//栈元素类型,含有一个三元组, top 表示该数组的元素个数


main函数都没有,这是做啥呢,只定义了几个结构体而已