![](https://img-blog.csdnimg.cn/20200419205622430.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
C++
C++编程相关知识点和实践
leo.fan
微不足道
展开
-
C++ 多态、继承、多线程 (demo学习)
前言 作为菜鸟,为了成为C++牛人,特练习C++的牛逼特性,写了一个demo,包括C++继承、多态和简单的多线程,请各位多多指教。 直接上代码 main.cpp /* * i'm new, just for testing C plus plus. * include inherit, multi state, multi thread * * author: Leo Fan * tim...原创 2019-12-24 12:31:35 · 510 阅读 · 0 评论 -
C++自定义string类
为提高自身编码能力,学习书写自定义string类。原创 2019-11-28 11:30:22 · 253 阅读 · 0 评论 -
C++ 实现单链表的插入、删除、查找、反转
第一篇blog,请各位多多指教~~ 直接上代码: .h头文件 #ifndef LINKLIST_H #define LINKLIST_H #include <iostream> #include <array> struct Node{ double data; Node *next = nullptr; }; class LinkList { public:...原创 2019-09-28 14:14:33 · 376 阅读 · 0 评论 -
C++ 排序算法实践------插入排序、快速排序、归并排序
最近练习了几个排序算法,用C++ 实现的,劳烦各位帮我检查一下其中的不足。 .h头文件 #ifndef ARRAY_SORT_H #define ARRAY_SORT_H #include <iostream> class ArraySort { public: ArraySort(int arr_size); ~ArraySort(); void QuickSort...原创 2019-10-02 11:18:19 · 151 阅读 · 0 评论