Vectors in functions

When ever I try to pass two different vectors into a function.
For example
together(set1,set2)

set1 has 10 elements stored, and set2 has 20 elements stored.

Inside the together function they will both have only 10 elements each.
Do they have to be the same size? How can I over come this?
You'll need to post your code.
Topic archived. No new replies allowed.