Skip to content

Commit 55e330b

Browse files
Update
1 parent 8a18fe8 commit 55e330b

12 files changed

+48
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
* 常用库函数实现
2929
* malloc,strcpy,strcmp的实现,常用库函数实现,哪些库函数属于高危函数
3030
* [STL原理及实现](./problems/STL原理及实现.md)
31-
* [虚函数的作用和实现原理,什么是虚函数,有什么作用?](./problems/虚函数的作用和实现原理,什么是虚函数,有什么作用?.md)
31+
* [虚函数的作用和实现原理,什么是虚函数,有什么作用?](./problems/虚函数的作用和实现原理,什么是虚函数,有什么作用.md)
3232
* 纯虚函数,为什么需要纯虚函数?
33-
* [为什么需要虚析构函数,什么时候不需要?](./problems/为什么需要虚析构函数,什么时候不需要?.md)
34-
* [内联函数、构造函数、静态成员函数可以是虚函数吗?](./problems/内联函数、构造函数、静态成员函数可以是虚函数吗?.md)
33+
* [为什么需要虚析构函数,什么时候不需要?](./problems/为什么需要虚析构函数,什么时候不需要.md)
34+
* [内联函数、构造函数、静态成员函数可以是虚函数吗?](./problems/内联函数、构造函数、静态成员函数可以是虚函数吗.md)
3535
* 构造函数中可以调用虚函数吗?
36-
* [为什么需要虚继承?虚继承实现原理解析](./problems/为什么需要虚继承?.md)
36+
* [为什么需要虚继承?虚继承实现原理解析](./problems/为什么需要虚继承.md)
3737

3838
* [C++ 内存分配机制](./problems/C++内存分配.md)
3939
* 指针
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/* ************************************************************************
2+
> File Name: test.cpp
3+
> Author: 程序员Carl
4+
> 微信公众号: 代码随想录
5+
> Created Time: Tue Sep 29 16:45:38 2020
6+
> Description:
7+
************************************************************************/
8+
#include "test.h"
9+
int main() {
10+
std::cout << name << std::endl;
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* ************************************************************************
2+
> File Name: test.h
3+
> Author: 程序员Carl
4+
> 微信公众号: 代码随想录
5+
> Created Time: Tue Sep 29 16:41:48 2020
6+
> Description:
7+
************************************************************************/
8+
9+
#include <iostream>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/* ************************************************************************
2+
> File Name: test1.cpp
3+
> Author: 程序员Carl
4+
> 微信公众号: 代码随想录
5+
> Created Time: Tue Sep 29 16:45:38 2020
6+
> Description:
7+
************************************************************************/
8+
#include "test1.h"
9+
int main() {
10+
std::cout << name << std::endl;
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/* ************************************************************************
2+
> File Name: test1.h
3+
> Author: 程序员Carl
4+
> 微信公众号: 代码随想录
5+
> Created Time: Tue Sep 29 16:49:26 2020
6+
> Description:
7+
************************************************************************/
8+
9+
#include "test.h"
10+
11+
void print() {
12+
std::cout << name << std::endl;
13+
}
File renamed without changes.

0 commit comments

Comments
 (0)