카페검색 본문
카페글 본문
-
개인용 mp3플레이어 (JavaScript) 2026.03.20해당카페글 미리보기
norm[i].name+'</div>'; } str += "</div>"; $(".normList").html(str); str = ""; str += "<div>"; for(let i=0; i<rand.length; i++) { str += '<div draggable="true" class="audio-item" data-name="'+rand[i].name+'">'+rand[i].name+'</div>'; } str...
-
[C언어] 1 ~ 50000까지 Rand 함수를 이용해서 출력시켜보자 2016.03.15해당카페글 미리보기
0; int max, min; printf("1 <= n <= 50000 범위의 랜덤 정수 "); srand((unsigned)time(NULL)); for (i = 1; i<50001; i++) { num[i] = (rand() % 50001) + 1; printf("%d번 째 : %d ", i, num[i]); } max = num[0]; min = num[0]; for (i = 1; i < 50001...
-
Ayn Rand’s Nightmare is Today’s Wall Street 2012.03.27해당카페글 미리보기
nation’s courts. Today, the organization says it represents three million businesses. In the letter to Read, Rand explains: “I don’t want to issue ANTHEM as a regular book now, because it is only a novelette and not big enough to...
-
srand와 rand... 2005.03.12해당카페글 미리보기
unsigned) time(0) ); // srand 사용.. for (i=0;i<3;i++) { n1[i] = rand() % 10; //rand 사용.. if (n1[i] == 0) i--; if (i == 1 && n1[1]==n1[0]) i--; if (i == 2) if ( n1[2]==n1[1]||n1[2]==n1[0]) i--; } printf(" %d, %d, %d 를 입력 받았습니다...
-
오rㅌrㅅi 급ㅎrㄷr구웃-! OH즈랜드(rand)에서 스ㅌi커 ㅈji작ㅎH본 빵ㄴㅕ있어?☆ 2014.02.22해당카페글 미리보기
☞ 뉴빵카페 에서 작성된 글입니다.[저작권리는 글쓴 회원에게 있습니다.] ↑ 뉴빵인 권리 보호마크임. 지우지말고 글쓰세요~ [뉴빵카페 상표는 법적으로 보호받습니다] 제발ㄹ.... ☞10대,20대여성커뮤니티카페 Duam 뉴빵카페 http://cafe.daum.net/ok211...
-
[ARM 실습88] TIM2 PWM DMA 고급 설정 (Half Transfer, Circular Mode) 코드 2025.11.24해당카페글 미리보기
Half Transfer (버퍼의 앞쪽 1/2) void UpdateBufferFirstHalf(void) { for (int i = 0; i < PWM_BUF_LEN/2; i++) pwmBuf[i] = (rand() % 1000); } Full Transfer (버퍼의 뒤쪽 1/2) void UpdateBufferSecondHalf(void) { for (int...
-
srand ,rand, time 함수에 대해 알고싶습니다. 2002.07.11해당카페글 미리보기
글구 time라는 함수도봤는데여... void random(int a[]){ int i; long t; srand(time(&t)); for(i=0;i<=2;++i){ while(1){ a[i]=rand()%10; if(a[i]!=0) break; 이것두 time을 넣어서 머가 어떻게 되는지 모르겠습니다.. 왜 rand에 %10을 하는지두영~ 상세...
-
rand함수에 대한 질문입니다. 2004.10.04해당카페글 미리보기
4, c = 6, d = 8, e = 10; srand( (unsigned)time( NULL ) ); for( i = 0; i < 10; i++ ) if( 0 <= i, 2 >= i){ cout << a; } else if (2 < i, 4>i) { cout << b; } cout << i << rand(); } 이렇게 해하니까 숫자 하니가 아니고 여래개가 출력되는데...
-
Ayn Rand: the Tea Party’s Miscast Matriarch 2012.02.29해당카페글 미리보기
long and it was boring.” I have to personally admit to finding it gratingly verbose and boring when I read it in college. Perhaps Rand’s brilliance and that of Greenspan elude the Objectivist-challenged among us. I decided to reach out...
-
난수 생성시 RAND함수에 대해서.. 2005.04.17해당카페글 미리보기
이용해서 해보려니 안되더라구요. 아래는 help에 예제로 들어 있는 것인데요. data random; call streaminit(123); do i=1 to 10; x1=rand('cauchy'); output; end; run; 왜 안될까요? help를 읽어보니 " The RAND function is experimental. " 라고 나와...