Search:

Type: Posts; User: siris1

Search: Search took 0.00 seconds.

  1. It looks to me like you are printing out the...

    It looks to me like you are printing out the address of array[0]...it also appears that you are trying to return the address of a local variable...
  2. Replies
    6
    Views
    1,122

    It looks to me like you want to print how many...

    It looks to me like you want to print how many days exist in each month. Just setup and array with 12 slots...and put array[0] = 30...then its easy. printf(%u\n",array[number]);

    Of course this...
  3. Replies
    5
    Views
    2,127

    Hrmm, if that's the case you could modify each...

    Hrmm, if that's the case you could modify each static allocation to dynamic...that might be a lot of work. Yeah I guess all of your static allocation are allocated on the stack...(doh).
  4. Replies
    5
    Views
    2,127

    This could be achieved by running your program...

    This could be achieved by running your program through Valgrind.
  5. Replies
    5
    Views
    2,205

    Is the code not compiling or is the output...

    Is the code not compiling or is the output incorrect?

    -----------------------------

    No advance in wealth, no softening of manners, no reform or revolution has ever brought human equality a...
Results 1 to 5 of 5