сгенерировать список

Discussion in 'Болталка' started by Hapk, 22 Mar 2012.

  1. Hapk

    Hapk Banned

    Joined:
    3 Jun 2011
    Messages:
    290
    Likes Received:
    42
    Reputations:
    -5
    Кому нетрудно? подскажите как сгенерировать список в виде
    z10000
    z10001
    z10002
    и.т.д
     
  2. Shawn1x

    Shawn1x Well-Known Member

    Joined:
    24 Aug 2007
    Messages:
    286
    Likes Received:
    489
    Reputations:
    -17
    Лови бро!

    z10000
    z10001
    z10002
    z10003
    z10004
    z10005
    z10006
    z10007
    z10008
    z10009
     
  3. alkos

    alkos Elder - Старейшина

    Joined:
    28 Mar 2007
    Messages:
    1,148
    Likes Received:
    292
    Reputations:
    271
    PHP:
    void main()
    {
    int START=10000STOP=100000;
    for (
    int i STARTSTOP+1i++)
    {
    char str[1024]="";
    sprintf (str"z%i"i);
    FILE f fopen ("out.txt""a");
    fputs (strf);
    fclose(f);
    }
    }
    а вообще есть куча таких генераторов, UIN;PASS Generator 1.8 кримеру
     
    #3 alkos, 22 Mar 2012
    Last edited: 22 Mar 2012
  4. Hapk

    Hapk Banned

    Joined:
    3 Jun 2011
    Messages:
    290
    Likes Received:
    42
    Reputations:
    -5
    А как Это запустить?
     
  5. alkos

    alkos Elder - Старейшина

    Joined:
    28 Mar 2007
    Messages:
    1,148
    Likes Received:
    292
    Reputations:
    271
    Установить с++.
     
  6. sn0w

    sn0w Статус пользователя:

    Joined:
    26 Jul 2005
    Messages:
    1,021
    Likes Received:
    1,189
    Reputations:
    327
    я никогда не заюзаю ваш софт
     
  7. Hapk

    Hapk Banned

    Joined:
    3 Jun 2011
    Messages:
    290
    Likes Received:
    42
    Reputations:
    -5
    А кто нить может на пёрле сделать?
     
  8. qaz

    qaz Elder - Старейшина

    Joined:
    12 Jul 2010
    Messages:
    1,551
    Likes Received:
    172
    Reputations:
    75
    PHP

    PHP:
    <?php  
        $newline 
    "<br>"
        for (
    $i 0$i 9999$i++) { 
            
    printf("z1%04d%s"$i$newline); 
        } 
    ?>
     
Loading...