In C++, is it possible to give array as input to a function.
Asked
Active
Viewed 534 times
-3
-
http://stackoverflow.com/questions/4810664/how-do-i-use-arrays-in-c – WLin Feb 13 '13 at 00:36
1 Answers
1
Most likely you can do this all with vectors.
#include <vector>
std::vector<int> function_name(const std::vector<int>& A, const std::vector<int>& B);

juanchopanza
- 223,364
- 34
- 402
- 480