c-template
random.h File Reference
#include "returns.h"
Include dependency graph for random.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int get_random_number (int lower, int upper)
 
cg_returnget_random_string (int stringLength)
 

Variables

const char letters [26] = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'}
 

Function Documentation

◆ get_random_number()

int get_random_number ( int  lower,
int  upper 
)

Definition at line 22 of file random.c.

Here is the caller graph for this function:

◆ get_random_string()

cg_return* get_random_string ( int  stringLength)

Definition at line 7 of file random.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ letters

const char letters[26] = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'}

Definition at line 8 of file random.h.