hi
thanx to all people who replied my previous q..
lol ive another question
how i can return a pointer to an array of structures?
thanx
for example in this function
struct* StoreData(int job, int arrival, int service, int leaving)
{
struct data
{
int j;
int a;
int s;
int l;
};
struct data mydata [20];
mydata[job-1].j=job;
mydata[job-1].a=arrival;
mydata[job-1].s=service;
mydata[job-1].l=leaving;
return mydata;
i donno i always got an error considering the returned value
thanx alot again