#OOP&rand() 함수의 작동 C++ 표준 라이브러리에 속해 있는 가장 쉽게 사용할 수 있는 랜덤 함수는 기본적으로 rand() 와 srand()으로 구성되어 있다. #include #include using namespace std; int main(){ srand(1); for(int i=0; i 카테고리 없음 2024.03.24