There exist 'randi' defined in random.h function which
is overloaded as
int randi( int High = 3, int Low = 0 );
ivec randi( int size, int High = 3, int Low = 0 );
if I intend to call the first one with two argument,
compiler will complain that there is ambigouse function
call, which quite understandable.
Log in to post a comment.