Programming/Window Programming14 [C++] BaseBall Game 요즘 C++를 사용해야할 일이있어 새로이 공부하는 생각으로 좋은 강의를 찾아서 팔로업하고있다. #include#include using namespace std; void main() { srand((unsigned int)time(0)); int iNumber[9] = {}; // 1 ~9 까지의 숫자를 설정. for (int i = 0;i 2018. 2. 13. [C++] Lotto Game 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051#include using namespace std; void main(){ int i = 0; srand((unsigned int)time_t(0)); //Lotto Variable int iLotto[45] = {}; for (i = 0;i 2018. 2. 13. 이전 1 2 다음