Search:

Type: Posts; User: iMalc

Search: Search took 0.04 seconds.

  1. Replies
    18
    Views
    6,792

    No, because not every value is equally likely. By...

    No, because not every value is equally likely. By far the most likely value in any given memory location is zero, probably somewhere on the order of 30%. Go on, pause a running program and look...
  2. Replies
    18
    Views
    6,792

    *sigh* another poor code example... 1) You...

    *sigh* another poor code example...

    1) You don't need two separate counter variables there. You could just do:
    for(length=0; my_array[length]!='\0'; length++) {}

    2) Stop reinventing the wheel,...
  3. Replies
    18
    Views
    6,792

    black_stallion and rac1: Read the documentation...

    black_stallion and rac1: Read the documentation on scanf:
Results 1 to 3 of 3