Search:

Type: Posts; User: sbaker1313

Search: Search took 0.00 seconds.

  1. Thanks guys. Per your advice, I changed my...

    Thanks guys. Per your advice, I changed my function definition to...


    void namesort(int n, int usenum, char list[][MAXNAME], int sort[])

    but at compile time it says, "conflicting types for...
  2. #include #include ...

    #include <stdio.h>
    #include <string.h>

    #define MAXOPS 200
    #define MAXNAME 15

    void swap(int *index1, int *index2);
    void namesort(int n, int usenum, char list[], int sort[]);

    int main(void)
  3. Wow! Everybody has been incredibly helpful. ...

    Wow! Everybody has been incredibly helpful. Thanks so much.

    In response to Adak's question, I guess what I'm looking to do for starters is get some practice working with parallel arrays. I...
  4. my 'date' format is [yys] where 's' is the...

    my 'date' format is [yys] where 's' is the season. for instance, 06F would be Fall of 2006. it's based on academic years, so there's no 'summer' to conflict with 'spring'.
  5. Parallel arrays, dynamic memory allocation, and sorting arrays

    I'm trying to read data from a file into parallel arrays. It's a list of names (first and last), dates, and scores. I then need to sort those arrays by any one of the four things being read in...
Results 1 to 5 of 5