Thank you. But error still exists in line 9 after I changed it to a[][100]
Type: Posts; User: 20120903
Thank you. But error still exists in line 9 after I changed it to a[][100]
The error is shown below. Thank you.
#include <stdio.h>
int* findSaddlePoints(int *arr[], int numOfRow, int numOfCol){
int ans[numOfRow * numOfCol];
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
...
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...
My code works now. Thank you.
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...
/*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){...