calling c++ functions with arguments, changed function arguments order