lets say if i have a function like this
void getData(FILE *spData, INFO list[]);
how do i call this function in main ?
i mean what will the function call of this look like ?
thanx in advance
lets say if i have a function like this
void getData(FILE *spData, INFO list[]);
how do i call this function in main ?
i mean what will the function call of this look like ?
thanx in advance
Quzah.Code:int main( void ) { FILE *fp; INFO list[ SOMESIZE ]; getData( fp, list );
Hope is the first step on the road to disappointment.
Quzah nailed it, assuming you defined the INFO data type elsewhere.
Originally Posted by The Jargon File