I'm writing a program where I have to read in information from a data file into an array of structures then print it out in a formatted chart. I'm getting these error messages when I try to compile and I can't figure out how to get rid of them. I know I'm missing something simple but I'm just not seeing it:
trip.c:17: error: expected ')' before 'legs'
trip.c:55: error: expected ')' before 'legs'
trip.c: In function 'GetGasInfo':
trip.c:92: warning: format '%lf' expects type 'double *', but argument 2 has type 'double'
trip.c:94: warning: format '%lf' expects type 'double *', but argument 2 has type 'float *'
Thank you for your time.