Thanks for the reply!

So the error was that I thought a function could return multiple values because it can hold multiple arguments I.e. = function1(int value1, int value2). But I see now that this was not the case...

I've been experimenting with std:maps a lot now and find it much easier to use. A nice "breakthrough", heh.

Novice coder is thankful /bow

/Daniel