From 55803ef9feda14d8309d910646eb96f2a955f84f Mon Sep 17 00:00:00 2001 From: 1AoB <2453468739@qq.com> Date: Sat, 20 Apr 2024 16:00:02 +0800 Subject: [PATCH] c++ --- .../post/2024-04-19面试复盘/index.zh-cn.md | 21 ++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/exampleSite/content/post/2024-04-19面试复盘/index.zh-cn.md b/exampleSite/content/post/2024-04-19面试复盘/index.zh-cn.md index 0636587..dc44e9d 100644 --- a/exampleSite/content/post/2024-04-19面试复盘/index.zh-cn.md +++ b/exampleSite/content/post/2024-04-19面试复盘/index.zh-cn.md @@ -17,6 +17,21 @@ This article offers a sample of basic Markdown. # 正文开始 -- first -- second -- thrid \ No newline at end of file +1. struct和class的区别 +2. 值传递,地址传递,引用传递(拷贝)的区别 +3. 指针是几个字节? +4. static关键字 +5. 虚函数指针,虚函数表 +6. 多态 +7. 编译器如何知道你是进行的函数重载 + +答:函数重载,它允许在同一个作用域中定义多个同名函数,但这些函数的==参数列表或类型==必须不同。在调用这些函数时,编译器会根据传递给函数的参数的数量、类型或顺序来确定要调用的具体函数版本。 + + + +1. 构造,析构的顺序 +2. stl:vector、list、Map的区别 +3. 智能指针 +4. 项目中如何保证线程安全? +5. 死锁 +6. 多线程中多个信号与主线程 \ No newline at end of file