欢迎光临散文网 会员登陆 & 注册

C++ 基础速食

2022-08-30 19:43 作者:odd221  | 我要投稿

适用于:基础知识差不多忘光,需要快速捡起一些基础知识的同学。

为了方便学习,也有一些英文笔记。

主要参考这个视频:Free C++ Course for Beginners ⚡️ - YouTube

(1) #include <iostream>

参考:<iostream> - C++ Reference (cplusplus.com)

(2) 标点 (英文名称)

(3) 变量类型 identifier

(4) const 

(5) namespace

(6) typedef

https://www.youtube.com/watch?v=9guJVmDyFmE

(7) arithmetic operators

(8) type conversion 类型转化

(9) cout & cin

(10) math-related function

(11) if

(12) switch

(13) ternary operator 三元运算符

(14) logical opetaters 逻辑算符

(15)  string method:  .length() 及  .empty() 及  .clear()   及 .append().at().insert() 及  .find().erase()

(16) while loop

(17) do while loop

(18) for loop

(19) nested loops

(20) random numbers  rand()   srand()

(21) random event generator

(22) function

(23) return keyword

(24) overloaded function

(25) variable scope

(26) Array

(27) sizeof() operator

(28) foreach loop

(29) Pass array to a function

(30) search an array for an element

(31) fill function

(32) multidimensional array

(33) memory address

(34) value pass by value vs. by reference

(35) const parameter  const keyword

(36) pointers

(37) NULL value

(38) dynamic memory

(39) recursion

(40) function template

(41) struct

(42) pass struct to function

(43) enums 枚举

(44) object-oriented programming

(45) constructor

(46) overloaded constructors

(47) getters & setters

(48) inheritance

the end.

C++ 基础速食的评论 (共 条)

分享到微博请遵守国家法律