摘要: c++ pp page68 https://blog.csdn.net/leowinbow/article/details/82190631 cin 后使用 cin.getline(): 当cin结束后,将回车键生成的换行符留在了输入队列中(cin 不丢弃空白符 p68,534),后面的cin.ge 阅读全文
posted @ 2022-02-08 20:06 SanFranciscoo 阅读(878) 评论(0) 推荐(0)
摘要: V = [1 2 3] 删除元素1: V = V(~ismember(V,1)); 其中 ~ismember(V,1) 相当于一个逻辑数组 [flase true true] 即,两种使用ismember的方法; 1. V = [1 2 3 4 5 6] ismember(V,2) = [0 1 0 阅读全文
posted @ 2022-01-27 18:25 SanFranciscoo 阅读(9162) 评论(0) 推荐(0)
摘要: 如 a = [1,3,5] b = [3,1,5] 可以先对a和b进行排序,再判断a和b是否相同。 阅读全文
posted @ 2022-01-26 22:54 SanFranciscoo 阅读(46) 评论(0) 推荐(0)
摘要: c++中,char 和 unsigned char占8位 short占16位 int 32位(VScode中),long 32位,long long 64位 因此 short(默认是有符号类型)可表示的范围为 -32768~32767(即-2^15~2^15-1) 超过这个范围就会发生溢出 unsi 阅读全文
posted @ 2021-12-02 22:06 SanFranciscoo 阅读(680) 评论(0) 推荐(0)
摘要: "A character, a short integer, or an integer bit-field, all either signed or not, or an object of enumeration type, may be used in an expression where 阅读全文
posted @ 2021-11-29 17:01 SanFranciscoo 阅读(44) 评论(0) 推荐(0)
摘要: 转自:https://blog.csdn.net/black_kyatu/article/details/79257346 float、double数据类型的表示范围及精度问题 c++ pp Page49 要弄清楚这个问题,首先要搞清楚浮点数在内存中的存储方式。浮点数,区别于定点数,指的是小数点位不 阅读全文
posted @ 2021-11-26 10:08 SanFranciscoo 阅读(778) 评论(0) 推荐(0)
摘要: 官网: https://code.visualstudio.com/docs/cpp/introvideos-cpp 如果要重新配置vscode,完全删除vscode: https://www.jianshu.com/p/c822060ef8f2 vscode安装: https://zhuanlan 阅读全文
posted @ 2021-11-18 16:18 SanFranciscoo 阅读(74) 评论(0) 推荐(0)
摘要: https://www.cxyxiaowu.com/15953.html 阅读全文
posted @ 2021-11-16 23:44 SanFranciscoo 阅读(14) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_41137110/article/details/102644516 阅读全文
posted @ 2021-10-14 20:45 SanFranciscoo 阅读(49) 评论(0) 推荐(0)
摘要: 参考视频: https://www.bilibili.com/video/BV1HJ411j7NG?p=2 一、Pandas基础操作 ▲:Pandas常用数据结构 1)Series创建 使用 pd.Series() 函数来创建一个Series对象,括号中的参数通常为一个列表、字典、数组等: 也可以自 阅读全文
posted @ 2021-08-28 22:26 SanFranciscoo 阅读(779) 评论(0) 推荐(0)