自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (1)
  • 收藏
  • 关注

原创 C++的STL值优先队列

#include #include #include using namespace std;struct Mystuct{ string name; int age;};struct stuless{ bool operator()(const Mystuct &s1, const Mystuct &s2) //重载() { return s1.ag

2017-09-27 20:41:01 261

原创 C++的STL之stack

#include #include using namespace std;int main1(void) //十进制转换二进制{ stackMystack; int num; cin >> num; while (num) { int data = num % 2; Mystack.push(data);

2017-09-27 15:14:23 252

原创 C++的STL之容器<2>

3、list#include #include #include using namespace std;int main1(void) //list 的输出{ listMylist; Mylist.push_back(1); Mylist.push_back(2); Mylist.push_back(3); Mylist.push_back(4); //

2017-09-26 22:26:45 212

原创 C++的STL之容器<1>

容器用来存储数据的,数据可以是用户自定义类型(对象),也可以是预定义类型。1、multiset#include #include #include using namespace std;int main(void){ multisetMyset; Myset.insert(10); Myset.insert(10); Myset.insert(20); My

2017-09-26 22:19:04 252

原创 C++的STL之仿函数简单介绍

#include #include #include //算法 #include //仿函数using namespace std;bool less3(int x){ return x < 30;}int main(void){ vector Myvecyor; Myvecyor.push_back(10); Myvecyor.push_back(

2017-09-26 22:15:26 531

原创 C++的STL之的iterator简单介绍

迭代器(iterator)是一中检查容器内元素并遍历元素的数据类型#include #include #include //算法using namespace std;int main(void){ vector Myvecyor; Myvecyor.push_back(10); Myvecyor.push_back(20); Myvecyor.push_

2017-09-26 22:05:56 292

一个可用的MinGW(gcc version 8.1.0 (x86-64-win32-seh-rev0, Built by M)

gcc version 8.1.0 (x86_64-win32-seh-rev0, Built by MinGW-W64 project),直接解压即可

2023-08-06

VS code配置C++环境,上传我自己的MinGW编译环境,直接解压即可

VS code配置C++环境,上传我自己的MinGW编译环境,直接解压即可,版本是(gcc version 8.1.0 (x86_64-posix-sjlj-rev0, Built by MinGW-W64 project))

2023-08-04

python爬取豆瓣电影top250

用python实现爬取豆瓣top250的电影信息,运用了BeautifulSoup、正则表达式、urllib、 xlwt模块。代码简单易懂。有利于初学习学习。

2020-09-15

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除