랜덤 함수 있잖아요..
Cbuilder에서 HElP 한건데요..
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
/* prints a random number in the range 0 to 99 */
int main(void)
{
randomize();
printf("Random number in the 0-99 range: %d\n", random (100));
return 0;
}
이렇게 예제가 있더군여..
Memo1 이라는 컴포넌트를 놓고..
거기에다가.. 랜덤함수로 뽑아진 값을 메모에 뿌려주려면
처리를 어떻게 해야 하는지 ㅠㅠ 도와주세여 ㅠㅠ
|