void init_random() - AmiralBl3ndic/CLib_v2 GitHub Wiki

void init_random()

This function is mandatory to use for a program that needs random


Use:

Call this function at the beginning of your main function, it will initialize the random for all the program


Example:

#include "CLib_v2.h"

int main(int argc, char** argv)
{
    init_random();
    //Some code
    return EXIT_SUCCESS;
}
⚠️ **GitHub.com Fallback** ⚠️