会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
SanFranciscoo
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
下一页
2022年2月8日
C++中的cin结束后使用cin.getline()不能输入的问题
摘要: 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)
2022年1月27日
matlab中删除数组中的一个特定元素
摘要: 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)
2022年1月26日
判断两个变量是否由相同的元素组成,但是元素顺序可能不同
摘要: 如 a = [1,3,5] b = [3,1,5] 可以先对a和b进行排序,再判断a和b是否相同。
阅读全文
posted @ 2022-01-26 22:54 SanFranciscoo
阅读(46)
评论(0)
推荐(0)
2021年12月2日
c++中整形变量精度、cout精度有效位数
摘要: 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)
2021年11月29日
c++整型提升
摘要: "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)
2021年11月26日
C++ float double 精度
摘要: 转自:https://blog.csdn.net/black_kyatu/article/details/79257346 float、double数据类型的表示范围及精度问题 c++ pp Page49 要弄清楚这个问题,首先要搞清楚浮点数在内存中的存储方式。浮点数,区别于定点数,指的是小数点位不
阅读全文
posted @ 2021-11-26 10:08 SanFranciscoo
阅读(778)
评论(0)
推荐(0)
2021年11月18日
配置vscode
摘要: 官网: 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)
2021年11月16日
github基础教程
摘要: https://www.cxyxiaowu.com/15953.html
阅读全文
posted @ 2021-11-16 23:44 SanFranciscoo
阅读(14)
评论(0)
推荐(0)
2021年10月14日
如何修改电脑用户名
摘要: https://blog.csdn.net/qq_41137110/article/details/102644516
阅读全文
posted @ 2021-10-14 20:45 SanFranciscoo
阅读(49)
评论(0)
推荐(0)
2021年8月28日
python基础:数据分析_Pandas
摘要: 参考视频: 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)
上一页
1
2
3
4
5
6
7
8
9
下一页
公告