当前位置:网站首页>C summary of knowledge points 1
C summary of knowledge points 1
2022-07-01 11:45:00 【dengfengling999】
1 Array syntax :
An array type [] Array name ;
int[] a;
double[] b;
Define an array , The array must be assigned , To initialize

Access array is from subscript 0 Start .





Nonparametric functions :


There are parametric functions :

The method name is the same , The phenomenon of different parameters is called polymorphism
Don't use it after creating the object , Release this space , Free up space with destructors .






: Code rewriting can be applied to inheritance .



Two classes are involved , Base class write method , Override the virtual method of the parent class in the subclass

Same signature : The method name is the same 、 Parameters are the same ( The number of parameters is the same , The corresponding data types are the same )



边栏推荐
猜你喜欢

为什么一定要从DevOps走向BizDevOps?

Tempest HDMI leak receive 3

S7-1500PLC仿真

Oneconnect plans to be listed in Hong Kong on July 4: a loss of nearly 3 billion in two years, with a market capitalization evaporation of more than 90%

TEMPEST HDMI泄漏接收 3

Introduction to unittest framework and the first demo

博途V15添加GSD文件

Matrix of numpy

Istio、eBPF 和 RSocket Broker:深入研究服务网格

Deep understanding of grpc part1
随机推荐
2022/6/29学习总结
二叉堆(一) - 原理与C实现
Acly and metabolic diseases
Cann operator: using iterators to efficiently realize tensor data cutting and blocking processing
Y48. Chapter III kubernetes from introduction to mastery -- pod status and probe (21)
Istio, ebpf and rsocket Broker: in depth study of service grid
Can solo be accessed through IPv6?
今天开户今天能买股票吗?在线开户是很安全么?
指纹浏览器工作原理、使用场景以及重要性简单讲解
流动性质押挖矿系统开发如何制作,dapp丨defi丨nft丨lp流动性质押挖矿系统开发案例分析及源码
sshd_config 中 PermitRootLogin 的探讨
Redis common sense
Value/string in redis
妙啊!MarkBERT
Unittest框架中跳过要执行的测试用例
Botu V15 add GSD file
Mingchuang plans to be listed on July 13: the highest issue price is HK $22.1, and the net profit in a single quarter decreases by 19%
Unittest框架中测试用例编写规范以及如何运行测试用例
用实际例子详细探究OpenCV的轮廓检测函数findContours(),彻底搞清每个参数、每种模式的真正作用与含义
Abbirb120 industrial robot mechanical zero position