Changeset 2481


Ignore:
Timestamp:
Feb 24, 2009, 9:13:16 PM (15 years ago)
Author:
Christoph Mayer
Message:

-seeding der rand funktion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/Name.cpp

    r2454 r2481  
    140140Name Name::random() {
    141141        char name[17];
     142        srand( time(NULL) );
     143
    142144        for (int i=0;i<16; i++)
    143145                name[i] = ("abcdefghijklmnopqrstuvwxyz")[((unsigned)rand())%26];
Note: See TracChangeset for help on using the changeset viewer.