|
]);
printf("\nLucky number : ");
printf("%d\n", lotto[6]);
printf("\nSelect your choice(continue: 1, finish: 0) : ");
scanf("%d", &select);
if(select != 1 && select != 0)
exit(1);
}while(select);
}
|
- 페이지 2페이지
- 가격 500원
- 등록일 2004.09.11
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
lotto;
set<int>::iterator iter;
int lnum = 0;
srand(time(NULL));
for(int i = 0;i < 6; i++){
lnum = (rand()%45)+1;
lotto.insert(lnum);
//cout<<*iter<<endl;
}
while(lotto.size()!=6){
lnum = (rand()%45)+1;
lotto.insert(lnum);
}
cout<<"로또 번호 발생기"<<endl;
cout<&l
|
- 페이지 9페이지
- 가격 2,300원
- 등록일 2014.11.04
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|