질문&답변
Error with random number (in Xcode)
srand 를 실행하기 위한 헤더 파일은 stdlib.h 이기 때문에 #inclue 를 추가하시면 srand(time(NULL)); 이 정상적으로 실행되어질 겁니당.