#define_CRT_SECURE_NO_WARNINGS1
#include<iostream>
usingnamespacestd;
classComplex
{
public:
voidSet(doublereal,doublep_w_picpath)
{
_real=real;
_p_w_picpath=p_w_picpath;
}
//构造函数
Complex(doublereal=1,doublep_w_picpath=2)
{
cout<<"缺省构..
分类:
编程语言 时间:
2016-01-18 21:09:11
阅读次数:
206
#define_CRT_SECURE_NO_WARNINGS1
#include<iostream>
#include<stdlib.h>
usingnamespacestd;
classDate
{
public:
Date(intyear=0,intmonth=0,intday=0)
:_year(year)
,_month(month)
,_day(day)
{
cout<<"构造函数"<<endl;
}
Date(constDate&..
分类:
编程语言 时间:
2016-01-18 21:08:49
阅读次数:
299
#define_CRT_SECURE_NO_WARNINGS1
#include<stdio.h>
#include<assert.h>
#include<stdlib.h>
#include<string.h>
#defineMAX_SIZE5
typedefintDataType;
typedefstructSeqList
{
size_tsize;
DataTypearray[MAX_SIZE];
}SeqList;
//冒泡排序
//v..
分类:
编程语言 时间:
2016-01-18 20:59:01
阅读次数:
302
#define_CRT_SECURE_NO_WARNINGS1
#include<stdio.h>
#include<assert.h>
#include<stdlib.h>
#include<string.h>
#defineMAX_SIZE5
typedefintDataType;
typedefstructSeqList
{
size_tsize;
DataTypearray[MAX_SIZE];
}SeqList;
//voidInitSeqLis..
分类:
编程语言 时间:
2016-01-18 20:55:58
阅读次数:
250
VS2013#define_CRT_SECURE_NO_WARNINGS1
#include<assert.h>
#include<iostream>
usingnamespacestd;
//在实现日期之间的运算之前,要先进行日期是否非法的检查
classDate
{
public:
Date(intyear,intmonth,intday)//构造函数
{
if(year>=2000&&..
分类:
编程语言 时间:
2016-01-16 19:43:28
阅读次数:
201
1:下载ca-bundle.crt和cacert.pem将这两个文件放在php目录下2:php.ini中添加上述两个文件的路径curl.cainfo=C:/xampp/php/ca-bundle.crtopenssl.cafile=C:/xampp/php/ca-bundle.crt写到最后一行就可...
题目:http://www.lydsy.com/JudgeOnline/problem.php?id=2219N次剩余+CRT。。。就是各种奇怪的分类讨论。。#include#include#include#include#include#include#define rep(i,l,r) for ...
分类:
其他好文 时间:
2016-01-10 22:38:41
阅读次数:
265
在nginx.conf中增加新server配置 server { listen 443; server_name www.some.com; ssl on; ssl_certificate sslkey/some.com.crt; ...
分类:
Web程序 时间:
2016-01-09 18:14:07
阅读次数:
120
环境准备:docker版本:1.9.1registry版本:2.2.1本文之前也有发过一篇自建仓库nginx认证,但是对新出的registryv2版本不适用,特重更一篇。一、创建相关目录及文件(1)目录结构auth│├──domain.crt│├──domain.key│├──nginx.conf│└──nginx.htpasswd├──datamkd..
分类:
其他好文 时间:
2016-01-08 00:36:46
阅读次数:
330
#define_CRT_SECURE_NO_WARNINGS1
#include<stdio.h>
#include<stdlib.h>
enumSTATE
{
Free,
Busy
};
structsubAreaNode
{
intaddr;//起始地址
intsize;//分区大小
inttaskId;//作业号
STATEstate;//分区状态
subAreaNode*pre;//分区前向指针
subAreaNo..
分类:
其他好文 时间:
2016-01-07 01:26:01
阅读次数:
354