[c++] 学习笔记资料汇总(包含各种方法、特性)

学习笔记资料汇总(包含各种方法、特性)

整理学习c++时积累的知识点

1. 关于字符数组、指针、基本类型之间的转换

  • char * 和char[]的区别以及怎样与string类型进行转换 https://www.cnblogs.com/skblog/p/5423129.html、
  • C++中 string 与char* 和char[]区别及转化 https://blog.csdn.net/bestcleaner/article/details/81516771
  • 获取char*的长度 https://www.oschina.net/code/snippet_723844_13496
  • C++中将string类型转换为int, float, double类型 https://blog.csdn.net/candadition/article/details/7342380
  • float型数据与字节数组的转化 https://blog.csdn.net/sygdp21/article/details/20476697
  • C语言字符数组和字符串 https://www.cnblogs.com/zhugeanran/p/8552391.html
  • stringstream的用法-类型之间的转换 https://www.cnblogs.com/chenghuiwen109/p/6555449.html
  • cout char *类型变量时的注意事项 https://blog.csdn.net/u010510962/article/details/78486265
  • 深入 char * ,char ** ,char a[ ] ,char *a[] https://blog.csdn.net/u011068702/article/details/52588649/
  • C++数值类型与string的相互转换 https://blog.csdn.net/k346k346/article/details/50927002
  • C++中string、char *、char[]的转换 https://www.cnblogs.com/Pillar/p/4206452.html
  • 关于VisualStudio一运行带中文程序就出错或输出乱码问题的解决(当初实际上是因为char数组没有结束符/0) https://www.cnblogs.com/ageek/p/7617030.html
  • VS2017运行程序出现乱码解决方法 https://blog.csdn.net/qq_33154343/article/details/78070973
  • C++ 字符串与字符数组 详解 https://blog.csdn.net/ksws0292756/article/details/79432329
  • C++二维数组动态内存分配 https://www.cnblogs.com/Forever-Kenlen-Ja/p/3753566.html
  • C++实现矩阵类(附代码和功能) https://blog.csdn.net/m0_37772174/article/details/83018940
  • 二维指针的new和delete https://blog.csdn.net/xuexiaokkk/article/details/54427790

2. 关于基本语法的使用、变形、基本数据类型的范围、组成原理

  • C++ 中 switch case语句来识别字符串(case语句本不支持对字符串的识别) https://blog.csdn.net/qq_33266987/article/details/58172076
  • C++11新特性,实现用字符串作为switch的case子句 https://blog.csdn.net/yozidream/article/details/22789147
  • 实战c++中的string系列–将string用于switch语句(c++做C#的事儿, switch中break还是return厉害) https://blog.csdn.net/wangshubo1989/article/details/50300417
  • C/C++中正反斜杠和转义字符 https://blog.csdn.net/csdnmicrosoftcsdn/article/details/51143158
  • int float double 最大值,最小值及内存分布 https://blog.csdn.net/sunny04/article/details/46793665

3. 关于文件IO

  • C++ 将文件数据一次性加载进内存 https://blog.csdn.net/shuzfan/article/details/66971622
  • C、C++一次将整个文件读入内存 https://blog.csdn.net/qq445803843/article/details/46476291
  • c++流缓冲学习—rdbuf() https://www.cnblogs.com/fnlingnzb-learner/p/9546863.html
  • c++标准库 https://www.yiibai.com/cpp_standard_library/cpp_fstream_rdbuf.html
  • C++中Txt文件读取和写入(方法汇总) https://blog.csdn.net/lz20120808/article/details/49622787
  • C++ buffer缓冲区的秘密 https://www.cnblogs.com/limera/p/buffer.html
  • C++中rdbuf()简介及文件流的概念 https://blog.csdn.net/qianghaohao/article/details/50727558
  • I/O流与文件 https://blog.csdn.net/twc829/article/details/51381844
  • C、C++一次将整个文件读入内存 https://blog.csdn.net/Machey__/article/details/78535956?utm_source=blogxgwz6
  • c++ 一次读取文件全部内容 https://blog.csdn.net/vinson0526/article/details/50829627
  • C++快速读取大文件 https://www.cnblogs.com/redips-l/p/8258306.html
  • stream流的good函数 https://blog.51cto.com/lihaichuan/1160603
  • C++ ofstream和ifstream详细用法 https://www.cnblogs.com/batman425/p/3179520.html
  • C++中的istringstream 的用法 http://blog.sina.com.cn/s/blog_a9303fd90101adt6.html
  • 用文件流ifstream和字符串流ostringstream读文件内容到string对象中 https://blog.csdn.net/shaojunbo24/article/details/46691657
  • C++二进制文件读写(read和write)详解 http://c.biancheng.net/view/1538.html
  • 使用C++从文件中读取五千万个数据存入vector中如何加快速度? https://segmentfault.com/q/1010000009528304?_ea=1959784
  • ofstream的使用方法–超级精细。C++文件写入、读出函数 https://blog.csdn.net/luo809976897/article/details/51442070
  • 关于fstream修改文件内容的操作 https://blog.csdn.net/cecesjtu/article/details/19028477
  • C++操作文件行(读取,删除,修改指定行) https://blog.csdn.net/woniu211111/article/details/82257636
  • C++正确读取文件最后一行 https://blog.csdn.net/whahu1989/article/details/81914946
  • fopen()、fwrite()、fread()函数使用说明与示例 https://blog.csdn.net/yang2011079080010/article/details/52528261
  • fopen()函数详解 https://blog.csdn.net/lyj2014211626/article/details/71844122

4. 关于STL、容器

  • Vector的reserve函数小探究 https://blog.csdn.net/qq_36251561/article/details/85317666
  • C++快速把vector里的数据写到文本文件中 https://majing.io/questions/622
  • 把一个序列(sequence)拷贝到一个容器(container)中去常用的std::copy算法 https://www.cnblogs.com/silentNight/p/5508605.html
  • C++将vector写入文件并重新读取 http://www.veryhuo.com/a/view/87874.html
  • 容器的反转函数reverse() https://www.cnblogs.com/wjw2018/p/9313228.html
  • C++中的STL中map用法详解 https://www.cnblogs.com/fnlingnzb-learner/p/5833051.html

5. 关于工具类

  • C++中获取当前时间并格式化输出 https://www.cnblogs.com/danielStudy/p/6762107.html
  • c++日志类的设计 https://www.cnblogs.com/AquaGot/p/7241289.html
  • C++中字符串换行(如何拆分为多行) https://www.cnblogs.com/likemao/p/10167318.html
  • C++中,如何使double不用科学计数法表示 https://www.cnblogs.com/loongfee/archive/2011/11/08/2252146.html
  • C++中如何判断文件是否存在 https://blog.csdn.net/songyuc/article/details/79750292
  • C++从string中删除所有的某个特定字符 https://www.cnblogs.com/testlife007/p/8365127.html
  • C++中string中的erase函数 https://zhidao.baidu.com/question/294568084.html
  • C++ string的erase删除方法 https://blog.csdn.net/u010472607/article/details/80431604
  • C++ 如何从string中删除一个字符 https://blog.csdn.net/cai_niaocainiao/article/details/81235656
  • istringstream 如何自定义分界字符(默认是\n) https://bbs.csdn.net/topics/360194050
  • C++中怎么把整型和字符型的变量追加到字符串后 https://zhidao.baidu.com/question/1703958047265454140.html
  • sscanf与sprintf用法总结 https://blog.csdn.net/hhq420684/article/details/18459233
  • C++ string类insert函数的用法 https://zhidao.baidu.com/question/577559716.html
  • c++简单格式化输出输入 https://blog.csdn.net/u013749051/article/details/80717009
  • c++异常详解 https://www.cnblogs.com/hdk1993/p/4357541.html
  • c++中enum 如何使用(转) https://www.cnblogs.com/byteHuang/p/7092010.html
  • C++实现分割读取txt文件以及对齐打印设置 https://blog.csdn.net/sinat_33718563/article/details/79153029
  • 编写C/C++程序时如何输入包含空格的字符串 https://blog.csdn.net/qq_34600424/article/details/79432947
  • C++编写Config类读取配置文件 https://cooker.iteye.com/blog/777455
  • C++读取配置文件 https://www.cnblogs.com/tzhangofseu/archive/2011/10/02/2197966.html
  • C++读取配置文件的写法 https://www.cnblogs.com/philipce/p/6617215.html

6. 关于参数

  • C++函数的传入参数是指针的指针(**)的详解 https://www.cnblogs.com/wuchanming/p/4310506.html
  • C++ 类对象和 指针的区别 https://www.cnblogs.com/flylong0204/p/4731318.html
  • main函数的参数的含义 https://blog.csdn.net/qq_37375427/article/details/80067272
  • C++中System()函数的使用及带参数的main函数 https://blog.csdn.net/itsrins/article/details/22885643

7.C++特性

  • C++内联函数 http://c.biancheng.net/view/199.html
  • C++内联函数的使用 https://www.cnblogs.com/2018shawn/p/10851779.html
  • c++ 函数的默认参数 https://www.cnblogs.com/chenhuan001/p/7400378.html

你可能感兴趣的:(c++)