?? srand.h
字號:
//
// File = srand.h
//
#ifndef RAND_MAX
#define RAND_MAX 65536
#endif
#ifndef _SRAND_H_
#define _SRAND_H_
class srand
{
public:
srand(); // default constructor sets seed=1
srand(int seed); // constructor for user-supplied initial seed
unsigned int rand(void);
private:
long int Seed;
};
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -