Search:

Type: Posts; User: 20120903

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    9,259

    Thank you. But error still exists in line 9 after...

    Thank you. But error still exists in line 9 after I changed it to a[][100]
  2. Replies
    13
    Views
    9,259

    The error is shown below. Thank you. ...

    The error is shown below. Thank you.




    #include <stdio.h>


    int* findSaddlePoints(int *arr[], int numOfRow, int numOfCol){
    int ans[numOfRow * numOfCol];
  3. Replies
    13
    Views
    9,259

    Thank you. There is still an error if I changed...

    Thank you.
    There is still an error if I changed **a to a[][] as suggested.
    This is my original code.
    I dont't know why it states No matching function for call to findSaddlePoints.Thanks



    ...
  4. Replies
    13
    Views
    9,259

    No matching function for call to...

    Hello. I have a problem when I invoke a function in the main function. The problem is "No matching function for call to that function". I don't know why it states no matching function when the...
  5. Replies
    5
    Views
    1,742

    My code works now. Thank you.

    My code works now. Thank you.
  6. Replies
    5
    Views
    1,742

    Thank you for both of your suggestion. Let's...

    Thank you for both of your suggestion.
    Let's take 7 three's, 3 sixes, and 2 ten's to explain my code.
    In the first loop, we can get temp[3]=21, temp[6]=18 and tmp[10]=10 as result.
    In the second...
  7. Replies
    5
    Views
    1,742

    A logic error in my program

    /*To find out the value in the array that the sum of all elements of the same number is the largest*/
    /* Can anyone tell me what the logic error is? Thanks. */
    int findMaxValue(int arr[], int n){...
Results 1 to 7 of 7