随笔分类 -  c++

c++ find函数使用,如结合vector
摘要:#include <iostream>#include <vector>#include <algorithm>using namespace std; int main(){ vector<int> v; v.push_back(1); v.push_back(2); v.push_back(3) 阅读全文

posted @ 2019-11-22 12:26 BabyStep 阅读(2912) 评论(0) 推荐(0)

c/c++中位操作以及常用的位操作应用
摘要:参见: https://www.cnblogs.com/programnote/p/4686330.html 博主写的很不错。 阅读全文

posted @ 2019-09-05 21:11 BabyStep 阅读(150) 评论(0) 推荐(0)

c++ 全局变量、静态全局变量、静态局部变量、局部变量
摘要:总结的很好的一篇博客: https://www.cnblogs.com/burandanxin/archive/2009/10/16/1584735.html 阅读全文

posted @ 2019-07-25 17:19 BabyStep 阅读(487) 评论(0) 推荐(0)

c++ string 类的常用函数大全
摘要:参考博客 https://blog.csdn.net/fdqw_sph/article/details/54233971 阅读全文

posted @ 2019-07-23 10:33 BabyStep 阅读(375) 评论(0) 推荐(0)

数组、指针、数组指针和指针数组怎样理解
摘要:本文由 "babystep" 原创,禁止转载! 本文通过语言加代码的方式,力图完全理解指针、数组、指针数组和数组指针这四个东西,尤其是指针数组和数组指针,每次用起来都得重新搜索是啥意思,所以这次决定用一篇博客说明白。 数组和指针经常用,但是理解时候容易有偏差,导致不能理解指针数组和数组指针的区别,所 阅读全文

posted @ 2019-07-20 17:27 BabyStep 阅读(1855) 评论(0) 推荐(0)

c++中的两种getline用法
摘要:参考 https://blog.csdn.net/Big_laoshu/article/details/79345351 阅读全文

posted @ 2019-04-22 23:35 BabyStep 阅读(1275) 评论(0) 推荐(0)

文件读写
摘要:#include #include #include #include #include #include #include #include #include #include //#include //#include "Sales_item.h" using namespace std; //统计种类1的原子x大于0.45的每个时间步的个数 int main() { ... 阅读全文

posted @ 2019-03-20 11:01 BabyStep 阅读(167) 评论(0) 推荐(0)

导航