can you post the rest of the code (or at least where you pass the vectors)
And the answer is yes, it is possible
Well the thing is, I get the error on that line, I havent even passed anything yet, the error occurs on the function definition. In eclipse that line is what is underlined in red. There isnt any code yet that uses this function. Thanks for your reply by the way.