Search:

Type: Posts; User: Werewolfkiss

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    3,010

    How simple a solution can sometimes be... ...

    How simple a solution can sometimes be...

    Thank you for the help =)
  2. Replies
    11
    Views
    3,010

    Ok I got that figured out now, new problem that...

    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...
  3. Replies
    11
    Views
    3,010

    So you mean something like this? /*...

    So you mean something like this?



    /*
    Header: iostream
    Reason: Input/Output stream
    Header: stdlib
    Reason: For functions rand and srand
    Header: time.h
  4. Replies
    11
    Views
    3,010

    How to return an array from a function

    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...
Results 1 to 4 of 4