include <iostream> include <cstdlib> include <ctime> using namespace std; class Random { public : Random() { srand((unsigned)time(0)); } int next; int nextInRange; } int main() { int i...
태그: 난수발생, 난수를범위내에서발생, rand, srand, random, 나머지연산자활용