- 博客(4)
- 收藏
- 关注
原创 C++vector排序-三目运算
#include<iostream>#include<vector>#include<ctime>#include<algorithm>using namespace std;struct Point{ int x; int y;};//得到两数的最大值,方法一int GetMax1(int a, int b);//得到两...
2020-04-08 23:14:22
224
转载 win10双系统ubuntu安装
转载于:https://www.cnblogs.com/masbay/p/10745170.htmlWindows10安装ubuntu16.04双系统教程Windows10安装ubuntu18.04双系统教程一、 先搞清楚自己电脑的类型:A MBR传统bios+单硬盘B MBR传统bios+双硬盘(SSD固态硬盘+机械硬盘)C UEFI新式bios+单硬盘D UEFI新式bi...
2020-04-08 17:28:48
144
原创 C C++ txt文本写入与读取
#define _CRT_SECURE_NO_DEPRECATE#include<iostream>#include<fstream> //iftream, ostream#include<sstream> //streamstring#include<iomanip> //setw, setfill#include<ctime>...
2020-04-08 03:07:40
556
原创 C++类继承
class Point2 { public: Point2() {} Point2(const float &x, const float &y):x_(x), y_(y){} Point2(const Point2& p2):x_(p2.x_), y_(p2.y_){} void operator=(const Point2&...
2020-04-07 23:09:17
126
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人