Sorry it was not the original error posted the wrong version? the error is below.
Code:
#pragma inspect, symbols
#pragma nolist
#include <stdio.h>
#include <string.h>
#include <tal.h>
#include <cextdecs(FILE_OPEN_,FILE_CLOSE_,FILE_GETINFO_,WRITEX,READX)>
#include <fcntl.h>
#include <stdlib.h>
#pragma list
main()
{
struct databse {
int cust_num;
char name[20];
int address;
char city[20];
char state[20];
};
_cc_status cc;
short fpointer ,error;
char RecCust[85];
struct databse customer;
customer.cust_num = 1;
customer.address = 1234;
customer.name;
customer.city;
customer.state;
strcpy(customer.name, "Name");
strcpy(customer.city, "City");
strcpy(customer.state, "State");
FILE_OPEN_("FILEKEY",7, &fpointer);
strcpy(RecCust,customer.cust_num); <---- Still have an error it doesn;t attach the int into the char ive tried casting it still an error.
strcat(RecCust," ");
strcat(RecCust, customer.name);