# c_plus_plus **Repository Path**: cpu_code/c_plus_plus ## Basic Information - **Project Name**: c_plus_plus - **Description**: No description available - **Primary Language**: C++ - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-01 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # C++_course * @Author: cpu_code * @Date: 2020-06-20 14:24:19 * @LastEditTime: 2020-07-12 12:54:04 * @FilePath: \ccourse\README.md * @Gitee: https://gitee.com/cpu_code * @CSDN: https://blog.csdn.net/qq_44226094 ## 介绍 C++语言教程:C语言的扩展、数组、string、结构体、指针、枚举、控制语句、函数、对象、类、继承、重用、友元、异常、STL -------------------------------- ## 文件说明 * [first__初次接触C++](#first__初次接触C++) * [type__数据类型](#type__数据类型) * [complex_type__复合类型](#complex_type__复合类型) * [class__类](#class__类) * [use_class__使用类](#use_class__使用类) * [class__类分配](#class__类分配) * [class__类继承](#class__类继承) * [class__重用](#class__重用) * [class__友元和异常](#class__友元和异常) * [class__模板库](#class__模板库) * [class__输入输出](#class__输入输出) * [class__C++新标准](#class__C++新标准) * [introduction__编程初学者入门训练](#introduction__编程初学者入门训练) * [Coding_Interview__程序员面试金典](#Coding_Interview__程序员面试金典) --------------------------------------------------------------------------- ## [first__初次接触C++](first) * [hello.cpp: 输出信息](first/hello.cpp) * [first.cpp: 输出](first/first.cpp) * [var.cpp: 定义变量](first/var.cpp) * [inport.cpp: 输入](first/inport.cpp) * [sqrt.cpp: 平方根](first/sqrt.cpp) * [fun.cpp: 函数调用](first/fun.cpp) * [return.cpp: 返回值](first/return.cpp) * [c_enhance.cpp: c的强大](first/c_enhance.cpp) * [c++_enhance.cpp: c++的强大](first/c++_enhance.cpp) * [regoin.cpp: ::的作用域](first/regoin.cpp) * [using.cpp: using编译指令](first/using.cpp) * [name_use.cpp: namespace命名空间](first/name_use.cpp) * [const.cpp: const类型](first/const.cpp) * [quote.cpp: 引用](first/quote.cpp) * [transmit.cpp: 参数传递](first/transmit.cpp) * [p_quote.cpp: 指针引用](first/p_quote.cpp) * [const_quote.cpp: 常数引用](first/const_quote.cpp) -------------------- ## [type__数据类型](type) * [length.cpp: 数据长度](type/length.cpp) * [exceed.cpp: 溢出](type/exceed.cpp) * [decimal.cpp: 十进制输出](type/decimal.cpp) * [base.cpp: 进制](type/base.cpp) * [chartype.cpp: 字符](type/chartype.cpp) * [ascii.cpp: ASCII码](type/ascii.cpp) * [escape.cpp:转义字符](type/escape.cpp) * [float.cpp: 浮点数](type/float.cpp) * [float_add.cpp: 精度](type/float_add.cpp) * [arith.cpp: 算术](type/arith.cpp) * [division.cpp: 除法问题](type/division.cpp) * [remainder.cpp: 取余](type/remainder.cpp) * [changes.cpp: 数字转换](type/changes.cpp) * [strong_turn.cpp: 强制转换](type/strong_turn.cpp) ---------------- ## [complex_type__复合类型](complex_type) * [array.cpp: 数组](complex_type/array.cpp) * [strlen.cpp: 静态数组,strlen计算长度](complex_type/strlen.cpp) * [read_string.cpp: 读取多个字符串的问题](complex_type/read_string.cpp) * [getline.cpp: 使用getline读取多个单词](complex_type/getline.cpp) * [get.cpp: 使用get()读取多个单词](complex_type/get.cpp) * [numstr.cpp: 号输入 和 行输入](complex_type/numstr.cpp) * [string.cpp: 使用string类](complex_type/string.cpp) * [string_add.cpp: string 赋值,相加](complex_type/string_add.cpp) * [strcat_cpy.cpp: 字符串复制,附加](complex_type/strcat_cpy.cpp) * [string_input.cpp: 数组和string的长度问题](complex_type/string_input.cpp) * [structur.cpp: 结构体](complex_type/structur.cpp) * [assgn_st.cpp: 结构体赋值](complex_type/assgn_st.cpp) * [arrstruct.cpp: 结构体数组](complex_type/arrstruct.cpp) * [address.cpp: &运算符查找地址](complex_type/address.cpp) * [pointer.cpp: 指针的使用](complex_type/pointer.cpp) * [init_ptr.cpp: 指针初始化为一个地址](complex_type/init_ptr.cpp) * [use_new.cpp: 获得并指定分配内存](complex_type/use_new.cpp) * [arraynew.cpp: 创建动态数组](complex_type/arraynew.cpp) * [addpntrs.cpp: 将数组名解释为地址](complex_type/addpntrs.cpp) * [ptrstr.cpp: 数组和指针的关系](complex_type/ptrstr.cpp) * [newstrct.cpp: new创建结构体](complex_type/newstrct.cpp) * [delete.cpp: 释放内存后重新使用](complex_type/delete.cpp) * [maxtypes.cpp: 数组 结构 指针](complex_type/maxtypes.cpp) * [choices.cpp: 数组、vector对象和array对象](complex_type/choices.cpp) ---------------------- ## [class__类](class) [class: 基本类](class/class) * [class_interface.h:类接口](class/class/class_interface.h) * [class_interface.cpp:类实现](class/class/class_interface.cpp) * [use_class.cpp:类使用](class/class/use_class.cpp) [stock: 构造函数和析构函数](class/stock) * [usestock.cpp:类使用](class/stock/usestock.cpp) * [stock.cpp:类实现](class/stock/stock.cpp) * [stock.h:类接口](class/stock/stock.h) [ob_array: 对象数组](class/ob_array) * [usestock.cpp:类使用](class/ob_array/usestock.cpp) * [stock.cpp:类实现](class/ob_array/stock.cpp) * [stock.h:类接口](class/ob_array/stock.h) [stack: 类使用栈](class/stack) * [main.cpp:类使用](class/stack/main.cpp) * [stack.cpp:类实现](class/stack/stack.cpp) * [stack.h:类接口](class/stack/stack.h) ---------------------------- ## [use_class__使用类](use_class) [mytime: 使用类描述时间](use_class/mytime) * [main.cpp:类使用](use_class/mytime/main.cpp) * [my_time.cpp:类实现](use_class/mytime/mytime.cpp) * [my_time.h:类接口](use_class/mytime/mytime.h) [operator_plus: 重载+](use_class/operator_plus) * [main.cpp:类使用](use_class/operator_plus/main.cpp) * [mytime.cpp:类实现](use_class/operator_plus/mytime.cpp) * [mytime.h:类接口](use_class/operator_plus/mytime.h) [operator: 重载*+-](use_class/operator) * [main.cpp:类使用](use_class/operator/main.cpp) * [mytime.cpp:类实现](use_class/operator/mytime.cpp) * [mytime.h:类接口](use_class/operator/mytime.h) [friend: 友元](use_class/friend) * [main.cpp:类使用](use_class/friend/main.cpp) * [mytime.cpp:类实现](use_class/friend/mytime.cpp) * [mytime.h:类接口](use_class/friend/mytime.h) [randwalk: 重载终结](use_class/randwalk) * [randwalk.cpp:类使用](use_class/randwalk/randwalk.cpp) * [vect.cpp:类实现](use_class/randwalk/vect.cpp) * [vect.h:类接口](use_class/randwalk/vect.h) [stonewt: 类转换](use_class/stonewt) * [stone.cpp:类使用](use_class/stonewt/stone.cpp) * [stonewt.cpp:类实现](use_class/stonewt/stonewt.cpp) * [stonewt.h:类接口](use_class/stonewt/stonewt.h) -------------------- ## [class__类分配](class) --------------------- ## [class__类继承](class) -------------------------- ## [class__重用](class) ------------------------- ## [class__友元和异常](class) -------------------------- ## [class__模板库](class) ------------------- ## [class__输入输出](class) --------------------- ## [class__C++新标准](class) ------------------------- ## [introduction__编程初学者入门训练](introduction) **牛客**的[编程初学者入门训练](https://www.nowcoder.com/ta/beginner-programmers),该专题为编程入门级别,适合大一大二同学使用,题目涉及编程基础语法,基本结构等,每道题带有练习模式和考试模式,可还原考试模式进行模拟,也可通过练习模式进行练习。 * [printf.cpp:输出信息](introduction/printf.cpp) * [cout_V.cpp:输出v](introduction/cout_V.cpp) * [size.cpp: 有容乃大](introduction/size.cpp) * [conquer.cpp: 分而治之](introduction/conquer.cpp) * [plane.cpp: 小飞机](introduction/plane.cpp) * [base.cpp: 缩短二进制](introduction/base.cpp) * [decimalism.cpp: 十六进制转十进制](introduction/decimalism.cpp) * [printf_return.cpp: printf的返回值](introduction/printf_return.cpp) * [cin.cpp: 成绩输入输出](introduction/cin.cpp) * [cin_cout.cpp: 学生基本信息输入输出](introduction/cin_cout.cpp) * [char.cpp: 字符金字塔](introduction/char.cpp) * [ascii.cpp: ASCII码](introduction/ascii.cpp) * [time_cout.cpp: 出生日期输入输出](introduction/time_cout.cpp) * [KIKI_calendar_class.cpp: 对象的日历类](introduction/KIKI_calendar_class.cpp) * [KiKi_highest_score.cpp: KiKi比较最大](introduction/KiKi_highest_score.cpp) ---------------------------------- ## [Coding_Interview__程序员面试金典](Coding_Interview) 本套编程题为CC150(《[Cracking the Coding Interview程序员面试金典](https://www.nowcoder.com/ta/cracking-the-coding-interview)》)一书配套在线练习,共84题 * [class_add.cpp: 位运算,另类加法](Coding_Interview/class_add.cpp) * [find_word.cpp: 编程基础 字符串 哈希,词频统计](Coding_Interview/find_word.cpp) * [judge_max.cpp: 编程基础 位运算 思维,无判断max](Coding_Interview/judge_max.cpp)