Search:

Type: Posts; User: Surphis

Search: Search took 0.00 seconds.

  1. thanks quzah, i was unaware the compiler did...

    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...
  2. i actually did try that before i came here, then...

    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...
  3. yeah, i prolly shoulda known that. but anyway,...

    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...
  4. Problem with passing an array of structures to a function

    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...
Results 1 to 4 of 4