摘要:
#include <iostream> using namespace std; int main() { // 第一种。使指针不能改动对象的值。注:此时指针能够指向另外的对象 int i = 10; int j = 100; const int *pi = &i; // 限定指针无法改动对象的值 阅读全文
posted @ 2017-04-19 13:13
gccbuaa
阅读(147)
评论(0)
推荐(0)
摘要:
一、核心原理 1. 用于发送请求给server: /home.htm 2. 请求被DispatchServlet拦截到 3. DispatchServlet通过HandleMapping检查url有没有相应的Controller, 假设有则调用Controller 4. Controller開始运行 阅读全文
posted @ 2017-04-19 11:40
gccbuaa
阅读(469)
评论(0)
推荐(0)
摘要:
部署完icehouse,安装完实例之后。假设虚拟主机须要和外部进行通信。还须要对宿主机的网桥进行配置 宿主机的配置 改动ifcfg-em1的内容为下面内容: DEVICE=em1 ONBOOT=yes DEVICETYPE=ovs TYPE=OVSPort OVS_BRIDGE=br-ex #HWA 阅读全文
posted @ 2017-04-19 10:59
gccbuaa
阅读(306)
评论(0)
推荐(0)
摘要:
思路:在单调队列不更新列首。由于查询区间大小不确定,所以不能保证下次是否还用到它 #include <cstdio> #include <cstring> #include <algorithm> using namespace std; #define N 222222 #define ll lo 阅读全文
posted @ 2017-04-19 10:23
gccbuaa
阅读(196)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <conio.h> #include <stdlib.h> //system(); 这个指令须要用到此头文件 #include <ctype.h> //toupper要用到 void main() { char letter; do{ prin 阅读全文
posted @ 2017-04-19 09:45
gccbuaa
阅读(200)
评论(0)
推荐(0)
摘要:
1)建立Person类: public class Person { private Integer id; private String name; private IdCard IdCard; public String getName() { return name; } public voi 阅读全文
posted @ 2017-04-19 08:55
gccbuaa
阅读(216)
评论(0)
推荐(0)

浙公网安备 33010602011771号