Confused a bit

Oct 27, 2016 at 3:38am
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.

Oct 27, 2016 at 3:44am
.
Last edited on Oct 27, 2016 at 3:53am
Oct 27, 2016 at 3:52am
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?
Oct 27, 2016 at 3:54am
You can create a function for yourself and I will make correction.
Oct 27, 2016 at 4:15am
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.