>> Delete No. 44400 article
No. 이 소스가 뭐가 문제죠?

등록 2002-03-11 17:10:00 By localhost     조회 2
이름 사람    

		#include <stdio.h>
#include <stdlib.h>
#include <time.h>
 int randnum(int min, int max)
{
 return (rand()%(max-min+1))+min;
}
int main(int *argc, char *argv<>)
{
 srand(time(NULL));
 int arg1=atoi(argv[1]), arg2=atoi(argv[2]);
 printf("%d",randnum(arg1, arg2));
}
 --
서명
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved