/*C++顺序表模板练习以及剖析易出现的浅拷贝问题*/#define_CRT_SECURE_NO_WARNINGS1#include<iostream>#include<string>usingnamespacestd;template<typenameT>classSeqList{public: SeqList(); SeqList(constSeqList&s); ~SeqList(); voidPushBack(cons..
分类:
编程语言 时间:
2016-03-23 23:43:17
阅读次数:
236
在做雅虎的时候,发现用第三方工具截取不到客户端与服务端的通讯,以前重来没碰到过这种情况,仔细看了看,它的url请求时基于https的,gg了下发现原来https协议和http有着很大的区别。总的来说,http效率更高,https安全性更高。 首先谈谈什么是HTTPS: HTTPS(Secure Hy
分类:
Web程序 时间:
2016-03-21 19:51:21
阅读次数:
168
#define_CRT_SECURE_NO_WARNINGS1#include"CommentConvert.h"StateTypestate;voidDoNullState(FILE*read,FILE*write){intfirst=fgetc(read);intsecond=0;switch(first){case‘/‘:second=fgetc(read);if(second==‘*‘){fputc(first,write);fputc(‘/‘,write);state=C_STATE;}elseif..
分类:
编程语言 时间:
2016-03-21 01:49:24
阅读次数:
293
深拷贝实现string类#define_CRT_SECURE_NO_WARNING1
#include<iostream>
#include<string>
usingnamespacestd;
classString
{
public:
friendostream&operator<<(ostream&os,String&str);
friendStringoperator+(constString&str1,constStri..
分类:
编程语言 时间:
2016-03-20 02:25:53
阅读次数:
692
https介绍: HTTPS(全称:Hypertext Transfer Protocol over Secure Socket Layer),是以安全为目标的HTTP通道,简单讲是HTTP的安全版。即HTTP下加入SSL层,HTTPS的安全基础是SSL,因此加密的详细内容就需要SSL。 它是一个U
分类:
Web程序 时间:
2016-03-18 19:40:32
阅读次数:
234
#define_CRT_SECURE_NO_WARNINGS1
#include<iostream>
usingnamespacestd;
#include<assert.h>
typedefintDataType;
classSeqList
{
public:
SeqList()
:_array(NULL)
,_size(0)
,_capicity(0)
{}
SeqList(constSeqList&sList)
:_array(newDataType[sList._..
分类:
编程语言 时间:
2016-03-18 02:01:15
阅读次数:
302
http://searchnetworking.techtarget.com/tip/HP-UX-Secure-Shell-Part-5-The-host-configuration-files Q. I’ve HP-UX installed on my HP UX UNIX server. But
分类:
其他好文 时间:
2016-03-18 00:04:49
阅读次数:
356
#define_CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<assert.h>
#include<stdlib.h>
#defineMAX_SIZE5
typedefintDataType;
typedefstructSeqlist
{
DataTypearr[MAX_SIZE];
size_tsize;
}Seqlist;
voidPrintSeqList(Seqlist*pSep);
voidInitSeqList..
分类:
编程语言 时间:
2016-03-17 19:38:42
阅读次数:
272
程序片段(01):ReplaceAll.c
内容概要:ReplaceAll#define _CRT_SECURE_NO_WARNINGS
#include
#include
#include //01.(删除+替换)所有指定字符串
// (双索引+双指针)-->(删除+替换)原理
// 注:增加(拓展)+删除(压缩)+修改(压缩|不...
分类:
其他好文 时间:
2016-03-15 06:23:53
阅读次数:
250
程序片段(01):对称.c
内容概要:对称#define _CRT_SECURE_NO_WARNINGS
#include
#include
#include //01.对称原理:
// 1.双索引or双指针-->双边对称夹逼-->进行字符比对
// 2.判断存在情况,默认所有情况
int isSemmetry(char * pSt...
分类:
其他好文 时间:
2016-03-15 06:21:56
阅读次数:
296