thanks quzah, i was unaware the compiler did things differently based on the file extension. it actually got rid of the "undefined reference to" error that i was getting. i had a load more errors...
Type: Posts; User: Surphis
thanks quzah, i was unaware the compiler did things differently based on the file extension. it actually got rid of the "undefined reference to" error that i was getting. i had a load more errors...
i actually did try that before i came here, then i got a linker error that said this:
[Linker error] undefined reference to `data_entry(rep_info*, int*)'
collect2 D:\Code\Rep...
yeah, i prolly shoulda known that. but anyway, thx for the help. i assumed i could write it like this:
data_entry(rep, &counter);
i figured since rep was an array it would pass the address...
Having some trouble with this. I know, basic stuff but i'm a noob and i really cant figure out what else to do. First off, here's the code:
void data_entry(struct rep_info *rep[], int...