Confused a bit

Create a function that returns positive only whole numbers and has arguments to pass in a 2D array, the number of rows, a number to look for in the array, and two vectors by reference. Thanks A lot.

.
Last edited on
How do i do that?? I am just confused in the passing of arguments, is it like we normally pass arguments or is it some thing else?
You can create a function for yourself and I will make correction.
Is this correct?
1
2
3
4
5
6
7
int Function(int ar[][10], int size)
{
	int ROWS = 0;
	int COLS = 0;
	vector<int&> ROWS;
	vector<int&> COLS;
}
Topic archived. No new replies allowed.