cRandomizer

A collection of helper libraries
Post Reply
AckiB
Posts: 14
Joined: Sat Sep 28, 2019 3:43 pm

cRandomizer

Post by AckiB » Sun Sep 29, 2019 10:57 pm

:windows: :linux:

The cRandomizer class I made to create random numbers...
Its easy to use...

Code: Select all

	cRandomizer rndmzr;
	
	// get an integer value from 10 to 20 (incl.)
	int iVal = rndmzr.Rndi(10, 20);
	
	// get a float value from 10.0 to 20.0 (incl.)
	float fVal = rndmzr.Rndf(10, 20);

Post Reply