1. You don't need usingnamespace std;
since you use the explicit std:: - prefix anyways.
2. double MaxNum(double num, double max)
What should that be? Why do you (a) declare a function with pointers (b) re-declare it within main() and (c) define it without pointers? That doesn't work.
There are several possibilities to solve the problem. The perhaps nicest and shortest:
(though it doesn't input 15 numbers, but as many as you type until <Ctrl-D> or whatever your OS uses as "End of File" character)
As you can see, the usage of the stl reduces the lines of code which actually do any work from ~20 to 3 (declare a container, fill the container, and output the maximum of the container).
However, you lack the basics of function declaration & definition, loop usage and parameter passing (and don't even manage to write such a simple program system-independent). Do younself a favor and read a book like the C++ Primer by Lippman, Lajoie & Moo. Or at least the tutorials on this page.