How simple a solution can sometimes be...
Thank you for the help =)
Type: Posts; User: Werewolfkiss
How simple a solution can sometimes be...
Thank you for the help =)
Ok I got that figured out now,
new problem that I actually don't understand.
I have now two functions: avgi and avgf which as input have a pointer and a size of the array.
They return the avarages...
So you mean something like this?
/*
Header: iostream
Reason: Input/Output stream
Header: stdlib
Reason: For functions rand and srand
Header: time.h
Hello,
what I want my program to do is the following:
1. generate an array of N random numbers in a function
2. return that array to the main function
3. display the contents of this array...