- 博客(9)
- 收藏
- 关注
原创 ACM模式机试
1、键盘输入常用函数C++-基础语法之cin.getline() 与 cin.get() 的区别,以及getline()函数使用方法_sunyuxiu的博客-优快云博客_cin.get()函数和cin.getlinecin、cin.get()、cin.getline()、getline()的区别_啊大1号的博客-优快云博客_cin getlinegetline()函数详解_C-K方程的博客-优快云博客#include<iostream>#include<..
2022-05-27 11:59:35
501
原创 个人八股文集合一、C/C++语言
1、谈谈你对C和C++的编程差异理解C和C++的特点和区别_humeApz的博客-优快云博客_c和c++区别2、static关键字在C语言和C++中各自有哪些不同用法C/C++中static的关键字的理解总结(对比在C和C++中的区别和相同)_呋喃吖的博客-优快云博客_c和c++中static的区别static关键字在C语言和C++中的使用及区别_李老湿和linux的博客-优快云博客_c和c++中static的区别3、union是什么,有什么用?C++中uni.
2022-05-26 17:31:26
478
原创 个人手撕代码二、字符串相关
一、strcpy相关#include <iostream>#include <string.h>using namespace std;//内存重叠的错误例子char* my_strcpy_false(char* dst, const char* src,int cpylen){ if (!dst || !src) return NULL; char* d = dst; int cnt = cpylen; w..
2022-05-24 11:29:32
137
原创 个人手撕代码三、C++特性相关
一、关于虚函数表的理解#include<iostream>using namespace std;class Base1{public: virtual void f(){ cout<<"Base1::f()"<<endl;} virtual void g(){ cout<<"Base1::g()"<<endl;} virtual void h(){ cout<<"Base1::h()"<<end
2022-05-22 15:27:43
252
原创 个人手撕代码一、排序相关
1.快速排序#include<iostream>using namesace std;int main(){ cout<<"hello csdn"<<endl; return 0;}
2022-05-20 10:22:54
228
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人