Search:

Type: Posts; User: Cameron Taylor

Search: Search took 0.00 seconds.

  1. Why this: fprintf(stdout, "\t%d\t%d\n",...

    Why this:

    fprintf(stdout, "\t%d\t%d\n", unsorted[i], sortedArray[i]);

    Why use fprintf and stdout instead of just a normal printf("%d %d", unsorted[i], sortedArray[i]);
  2. //Cameron Taylor #include #define...

    //Cameron Taylor

    #include <stdio.h>

    #define MAXARRAY 10

    void print(int[], int[], int);
    void highLow(int[], int[], int);

    void print(int unsorted[], int sortedArray[], int sz){
  3. lol forgot the "int"...

    lol forgot the "int"...
  4. Ok, I hope this is sort of what you were looking...

    Ok, I hope this is sort of what you were looking for:


    //Cameron Taylor

    #include <stdio.h>

    #define MAXARRAY 10

    void print(int[], int[], int);
  5. Homework: Arrays & Functions - Print Two Arrays on Same Table After Sorting

    Hello again!

    Having trouble with homework involving (title). Here is the assignment:



    So, I have to use separate functions for each of these. I would think it would be easiest to do the...
Results 1 to 5 of 5