Ignore:
Timestamp:
07/06/12 17:07:48 (11 years ago)
Author:
nit
Message:

[titan] add random funktion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/catcatch/catcatch.h

    r16964 r16991  
    11#ifndef CATCATCH_H
    22#define CATCATCH_H
    3 
    4 int getrandom(int max)
    5 {
    6         srand(time(NULL));
    7         return (rand() % max);
    8 }
    93
    104int checktreffer(int nr, int* sum, int* cat, int* value)
Note: See TracChangeset for help on using the changeset viewer.