![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
文章平均质量分 81
代号123Cat
这个作者很懒,什么都没留下…
展开
-
C++CString 字符串拷贝
//// CString2.hpp// CString//// Created by Mr.peng on 2014/8/29.// Copyright © 2014年 Mr.peng. All rights reserved.//#ifndef CString2_hpp#define CString2_hpp// CString2 优化版本的CString 增强版本...原创 2018-08-29 10:50:59 · 4528 阅读 · 0 评论 -
C++ operator
#ifndef CComplex_hpp#define CComplex_hpp class CComplex{private: double m_fReal; double m_fImag; public: CComplex(){ m_fReal = m_fImag; } CComplex(doub...原创 2019-02-21 23:39:59 · 728 阅读 · 0 评论 -
C++ cout operator
#ifndef CCOutPut_hpp#define CCOutPut_hpp #include <iostream> class CCOutPut{private: public: CCOutPut(){ } ~CCOutPut(){ }; C...原创 2019-02-22 16:48:40 · 340 阅读 · 0 评论 -
C++ cin operator
//// CCInPut.hpp// CComplex//// Created by Mr.peng on 2/21/19.// Copyright © 2019 Mr.peng. All rights reserved.// #ifndef CCInPut_hpp#define CCInPut_hpp#include <iostream>...原创 2019-02-22 16:50:08 · 278 阅读 · 0 评论 -
C++ 模板 三年多工作的总结与记录
1、 C++模板技术结交做泛型技术泛型技术就是使用的类型是各种类型,运算过程相同;在模板技术出现之前主要使用的是define和重载函数的实现泛型;2、函数模板定于:template<class T>返回值 函数(变量。。。)3、模板函数的调用;a)标准调用 函数名<模板类型>(参数列表),根据模板定义的类型生成对应的函数;b)非标准调用,根据参数类型自...原创 2019-02-26 13:50:43 · 198 阅读 · 0 评论