Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- 오버워치
- overwatch
- 유틸리티
- XL2430T
- switch speaker headset
- headset switch
- CFG70
- 헤드폰 스피커 자동 전환
- MSA14
- nircmd
- AHK
- Lingoes
- 모니터 암
- 사전
- 모니터 개봉기
- 매크로
- 모니터 비교
- 삼성 게이밍 모니터
- 게이밍 모니터
- 인풋렉 측정
- change speaker headset
Archives
- Today
- Total
목록2011/11 (2)
깐우의 세상 만들기
(C++) Rand 함수 사용법
#include #include int probability; srand(time(NULL)); probability=(rand()*rand())%10000; rand함수의 MAX 값음 37000정도이다. 그렇기 때문에 10000으로 나누게 되면 6~7000사이의 비슷한 값들만이 나오게 된다. 그렇기에 Rand와 Rand를 곱해줘서 구해보았다.
Book / Study
2011. 11. 28. 00:23