- 博客(5)
- 收藏
- 关注
原创 ImportError: numpy.core.multiarray failed to import
ImportError: numpy.core.multiarray failed to import 很奇怪今天安装包的时候,突然程序报这个错,查找后发现自己conda环境中的numpy有两个版本。 我的环境由conda创建 解决方法,卸载两个numpy库 // 卸载 conda uninstall numpy 或 pip uninstall numpy //安装numpy pip instal...
2019-08-27 13:53:09
220
原创 C/C++学习笔记(二)
C/C++学习笔记(二)学习随笔变量(首先定义变量 程序就是模拟现实)算术运算符与表达式类型转化表达式和条件结构循环三要素do-while指针 学习随笔 此为基础学习的一些知识点杂记。 变量(首先定义变量 程序就是模拟现实) float 有效数字 6到7位 c最后➕f 开发中少用float float 位数:32位 空间:4个字节 取值-3.4E+38~+3.4E+38 float 不适合表示大...
2019-08-25 23:05:42
1300
原创 code::block编译错误converting to execution character set
code::block编译错误converting to execution character set编译器设置问题 今天利用cout打印中文字符串报了这么一个错误,然后发现是编译器设置的问题 编译器设置问题 我在此处添加了 -finput-charset=GB2312 -finput-charset=UTF-8 我也忘了当初怎么加这个的删掉就好了,也许你的问题不在这,我这给自己留个记录。 ...
2019-08-25 16:10:26
2913
原创 code::block编译错误#error This file requires compiler and library support for the \ ISO C++ 2011 standar
#error This file requires compiler and library support for the \ ISO C++ 2011 standard. This support is currently experimental, and must be \ enabled with the -std=c++11 or -std=gnu++11 compiler optio...
2019-08-25 16:00:24
1206
原创 c/c++学习笔记(一)
马小跳c/c++学习笔记(一)各种变量类型的大小sizeof()功能:计算数据空间的字节数数据类型长度表格(单位byte)参考资料 各种变量类型的大小 各个类型的变量长度由编译器来决定(实际上与操作系统位数和编译器都有关)使用时可用sizeof()得到,当前主流编译器一般是32位或64位。 sizeof()功能:计算数据空间的字节数 1. 与strlen()比较 strlen()计算字符数组的字符...
2019-08-03 14:28:51
603
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人