Can you take a look at my structures plz and let me know if i'm doing somat wrong, cos i keep getting the massage "Undefined symbol" along with the variable i inspected i.e i_r_rec;
typedef struct {
char rec_type;
char cust_code[6];
char part_num[7];
int quantity;
}i_r_rec;
typedef struct {
char rec_type;
char cust_code[6];
}del_rec;
typedef struct {
char rec_type;
char cust_code[6];
char cust_name[20];
char cust_addr[60];
float cust_bal;
int credit_limit;
}crt_rec;
typedef union {
i_r_rec iss_ret;
del_rec delete;
crt_rec create;
}RECORDS;
int main() { RECORDS rec;
is there some thing so simple that i end up glancing past,
i've tried several ways like not using the typedef struct &
changing the union by adding in struct i_r_rec iss_ret;
but it still reporting as undefined
Thank in advance peeps