网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 生活知识 知识问答

解决C++Random.h(随机数函数库)编译不通过问题

时间:2026-02-16 00:09:49

1、打开DEV-C++界面

2、点击“工具”菜趴薪单>>"编译选五贪项"按钮

英文版:"Tools"海墨码菜单>>"Compiler Options"

3、把"编译时加入以下命令"打钩

英文版:"Add the following commands when calling the compiliner"

4、在"编译时加入以下命令(英文版:Add the following commands when calling the compiliner)"下面的编辑框里输入:

-std=c++11

5、点击"确定(英文版:OK)"

1、在编译命令后加入:-std=c++11;

© 2026 阿力知识库
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com