float r = static_cast (rand()) / static_cast (RAND_MAX); This will generate a number from 0.0 ...
確定! 回上一頁