码迷,mamicode.com
首页 >  
搜索关键字:stl    ( 6205个结果
[NewLife.XCode]增删改查入门
NewLife.XCode是一个有10多年历史的数据中间件,以下简称XCode。 整个系列教程会大量结合示例代码和运行日志来进行深入分析,蕴含多年开发经验于其中。 ...
分类:其他好文   时间:2019-02-26 00:44:04    阅读次数:312
C++STL容器vector
vector简介 vector模塑出一个dynamic array,即动态数组。它本身是一个 “将元素置于dynamic array加以管理的抽象概念”,属于序列式容器。 使用条件: 包含头文件 在此头文件中,类型vector是一个定义与namespace std 内的template: vecto ...
分类:编程语言   时间:2019-02-25 21:33:28    阅读次数:184
PAT 甲级 A1055 (2019/02/17)
```C++ include include include // STL using namespace std; //使用sort()函数必须加上 const int MAXN = 100010; struct TH{ char name[15]; int age; int money; }th ...
分类:其他好文   时间:2019-02-24 11:05:21    阅读次数:160
PAT 甲级 A1062 (2019/02/15)
```C++ include include include // STL 使用相关的函数需要include进来 using namespace std; struct Stu_info{ char id[10]; int de, cai, sum; int flag; }stu[100010]; ...
分类:其他好文   时间:2019-02-24 10:58:47    阅读次数:139
PAT 甲级 A1083 (2019/02/17)
```C++ include include include // STL using namespace std; //使用sort()函数必须加上 const int MAXN = 50; struct Student{ char name[15]; char id[15]; int score ...
分类:其他好文   时间:2019-02-24 10:24:42    阅读次数:158
关于双端队列 deque 模板 && 滑动窗口 (自出)
嗯... deque 即为双端队列,是c++语言中STL库中提供的一个东西,其功能比队列更强大,可以从队列的头与尾进行操作... 但是它的操作与队列十分相似,详见代码1: 1 #include <cstdio> 2 #include <iostream> 3 #include <deque> 4 / ...
分类:其他好文   时间:2019-02-22 16:42:49    阅读次数:176
PAT 甲级 A1062 (2019/02/15)
1 #include 2 #include 3 #include // STL 使用相关的函数需要include进来 4 using namespace std; 5 struct Stu_info{ 6 char id[10]; 7 int de, cai, sum; 8 int flag; 9 ... ...
分类:其他好文   时间:2019-02-21 23:21:06    阅读次数:292
python之web自动化测试框架
梳理下搭建web自动化框架的流程: 创建目录: cases:存放测试用例,unittest框架要求用例名必须以test开头,所以命名test_case.py test_case.py代码如下:继承unittest.TestCase类下面的方法setupclass(),teardownclass()。 ...
分类:编程语言   时间:2019-02-21 00:06:53    阅读次数:252
Freemarker生成HTML静态页面
这段时间的工作是做一个网址导航的项目,面向用户的就是一个首页,于是就想到了使用freemarker这个模板引擎来对首页静态化。 之前是用jsp实现,为了避免用户每次打开页面都查询一次数据库,所以使用了jsp的内置对象application,在Controller中将数据都查询出来, 然后放入appl ...
分类:Web程序   时间:2019-02-20 13:12:24    阅读次数:181
spring 标签
我在使用RetryService的时候,这样使用:是争取的 方法1: 但是这样:是不对的; 方法2: 因为,方法2中,没有使用spring注入; 直接new了一个类,但是new 了一个新的实例之后,这个类里面的 ...
分类:编程语言   时间:2019-02-20 12:59:20    阅读次数:173
6205条   上一页 1 ... 94 95 96 97 98 ... 621 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!