關於我

NKUST電子工程系

2019年12月23日 星期一

重要語法

亂數用法:
#include cstdlib
#include ctime
srand (time(NULL))
rand()%(最大-最小+1)+最小

沒有留言:

張貼留言