生成1~n之间随机整数_c++

rand() % (high - low + 1) + low;

posted @ 2022-07-08 12:45  douzujun  阅读(41)  评论(0编辑  收藏  举报