Search:

Type: Posts; User: quzah

Search: Search took 0.12 seconds.

  1. I was going to split the increment up onto its...

    I was going to split the increment up onto its own line, but I was thinking I'd be OK on that one. You could be right on that.


    Quzah.
  2. You could just do this without all of the...

    You could just do this without all of the separate calculation lines, and a single variable:
    v = 0
    printf("%d\t%d\t%d\n\n", ++v, v*v, v*v*v); /* ten times */


    Quzah.
Results 1 to 2 of 2