Search:

Type: Posts; User: Stlcardinal50

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    1,013

    I guess I'm not sure how to pass the 2D array in.

    I guess I'm not sure how to pass the 2D array in.
  2. Replies
    10
    Views
    1,013

    So would i have to enter different parameters?...

    So would i have to enter different parameters? I'm just having trouble wrapping my brain around it.

    The function will have to first test the row then take that and fill it in the array like I...
  3. Replies
    10
    Views
    1,013

    How would I go about? "1. Pass in another...

    How would I go about?

    "1. Pass in another array to be filled in by the function."

    If you have an example.
  4. Replies
    10
    Views
    1,013

    staring at this now int findLowest(int...

    staring at this now


    int findLowest(int score[][4], int rows)
    {
    const int LOWS = 3;
    int arr[LOWS];

    for(int R=0; R < rows; R++)
    {
  5. Replies
    10
    Views
    1,013

    Well i was hoping that arr[R] = low; would...

    Well i was hoping that

    arr[R] = low;
    would assign the 0,1,2 addresses in he array with the lowest grade for each student, but as for the

    return *arr;
    I was just trying to figure out a way to...
  6. Replies
    10
    Views
    1,013

    Okay what can I do to return these arrays...

    Okay what can I do to return these arrays properly, at the moment it is taking the lowest of the first row and it wont change for any other.

    And the average is doing the same.


    //Low Score...
  7. Replies
    10
    Views
    1,013

    Array Function

    I've asked about this program in the past but have just can't figure out what to do.

    I can't figure out how to make an array in a function and call it back to a different procedure. In this...
  8. Replies
    4
    Views
    1,783

    I also realize you can not return an array but...

    I also realize you can not return an array but return the pointer just not sure how to go about it here.
  9. Replies
    4
    Views
    1,783

    well I had this and I was trying to break it down...

    well I had this and I was trying to break it down into a:

    void getData(){}
    int findLow(){}
    double calcAvg(){}
    void Display(){}

    int main()
    {Vars
  10. Replies
    4
    Views
    1,783

    Returning 2D Array

    Was having trouble finding out how to properly return a 2D array in a function. I have seen 1D array, but no more as of yet. If somebody has an example I could use one along with how the call would...
  11. Replies
    1
    Views
    1,528

    Problem with 2D array

    I don't understand logically what is causing this too happen, but the "Dropped Grade" & "Average" are always coming out as "-858993460" & "286331275.00".

    The program is suppose to have you enter 4...
Results 1 to 11 of 11