I would like to write a small function which will return a dynamic array.
The function is a simple function like this:
Code:
function_a(int a, int b) { }
peter 5 60.00
mary 6 70.20
...
How I do this in c++!? use function pointer ?? or other method !?
Moreover, how can I get the return values...
Leave a comment: