E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
algo
用OpenSSL 做HMAC(C++)
cpp/openssl-hmac-hasing-example-in-cpp/名词解释:HMAC:Hash-basedMessageAuthenticationCode,即基于Hash的消息鉴别码(下面的
algo
_hmac.h
yasi_xi
·
2013-06-09 16:00
Pythonchallenge Level 10 (python2.7)
the main problem is the implementation of this lovely
algo
yy_gy
·
2013-06-07 01:00
python
10
pythonchallenge
I2C之知(六)--s3c2440用I2C接口访问EEPROM
本来是想用s3c2440的SDA和SCL管脚复用为GPIO来模拟的,但在没有示波器的情况下搞了一周,怎么都出不来,最后还是放弃了.甚至参考了linux下i2c-
algo
-bit.c和i2c-gpio.c
RubyBoss
·
2013-05-11 21:00
一些名校在线课程
搜集整理贴:自然语言处理 http://www.nlp-class.org/ 机器学习 http://jan2012.ml-class.org/ 算法设计分析 http://www.
algo
-class.org
godenlove007
·
2013-05-10 22:00
hdu 1878 欧拉回路
而图是否连通通过并查集 代码: #include<cstdio> #include<cstring> #include<iostream> #include<
algo
从此醉
·
2013-05-03 23:00
HDU
C++ ACM 基础 cin重定向 cout 格式化输出
intmain(){ //用stdin可以写相对路径 //freopen("in.txt","r",stdin); //cin重定向一定要写绝对地址 ifstreamcin("D:\\C++\\work_
algo
gaotong2055
·
2013-04-23 11:00
C++:STL标准入门汇总
STL的代码从广义上讲分为三类:
algo
wwqingyue
·
2013-04-11 16:00
C++
c
编程语言
STL
《Algorithms》第8章:NP完全问题 学习笔记
/**第0~第8章的全部笔记已经整理在http://zjsblog.com/
ALGO
/index.html*Algorithms是一本很经典的算法入门书,希望对朋友们有所帮助*/Chapter8:NP-
Zyearn
·
2013-02-02 18:00
面向对象程序设计语言C++中的多态性
C++对C语言的扩充部分汲取了许多著名语言中最优秀的特征,如从
Algo
168中吸取了操作符重载机制等。由于C++语言具有与C语言一样的高执行效率,并容易被熟悉C语言的软件人员接受,因而很快得以流行。
leeziyuan
·
2013-01-27 18:00
变长结构体的表示方法
http://blog.csdn.net/zhangyang0402/archive/2010/08/07/5795614.aspx 在Linux程序中,经常会看到形如下面的结构体定义structxfrm_
algo
rheostat
·
2013-01-25 11:00
编程
【Boost】boost::string_
algo
详解7——join的应用
template range_value::type join(constSequenceSequenceT&Input,constRange1T&Separator); template range_value::type join_if(constSequenceSequenceT&Input,constRange1T&Separator,PredicateTPred);例子:voidt
huang_xw
·
2012-12-27 22:00
【Boost】boost::string_
algo
详解6——replace相关函数
replace的主要函数(以及其包括的copy函数)包括:replace_range,replace_first,replace_last,replace_nth,replace_head,replace_tail,replace_regex,replace_all,replace_all_regexvoidtest_string_replace() { usingnamespaceboost;
huang_xw
·
2012-12-25 20:00
【Boost】boost::string_
algo
详解5——erase相关函数
erase的主要函数(以及其包括的copy函数)包括:erase_range,erase_first,erase_last,erase_nth,erase_head,erase_tail,erase_regex,erase_all,erase_all_regexvoidtest_string_erase() { usingnamespaceboost; std::stringstr="HelloD
huang_xw
·
2012-12-25 18:00
【Boost】boost::string_
algo
详解4——trim_if,trim_copy_if,trim_xxxx_if,trim_xxxx_copy_if
函数的部分原型template voidtrim_if(SequenceT&Input,PredicateTIsSpace); template OutputIteratorT trim_copy_if(OutputIteratorTOutput,constRangeT&Input, PredicateTIsSpace); template SequenceT trim_copy_if(cons
huang_xw
·
2012-12-23 22:00
linux i2c设备驱动
deprecated; unsignedintclass;//支持的类别(I2C_CLASS_HWMON,I2C_CLASS_DDC,I2C_CLASS_SPD) conststructi2c_algorithm*
algo
paomadi
·
2012-12-22 17:00
【Boost】boost::string_
algo
详解3——finder的简单应用
多日生病,博客无法更新。补之。Finder是一个搜索某个容器的任意部分的仿函数,一般无法单独使用。搜索的结果以一个限定所选择的部分的iterator_range的形式给出。常用于函数find,find_format,find_format_copy,find_format_all,find_format_all_copyfind_iterator的工厂方法:make_find_iterator,m
huang_xw
·
2012-12-22 00:00
【Boost】boost::string_
algo
详解2——find相关函数
函数声明:template iterator_rangefind_first(Range1T&Input,constRange2T&Search); template iterator_rangefind_last(Range1T&Input,constRange2T&Search); template iterator_rangefind_nth(Range1T&Input,constRange
huang_xw
·
2012-12-09 23:00
【Boost】boost::string_
algo
详解1
string符合容器的定义,也可以把它看做是元素类型为char(或wchart)的序列容器,可以使用标准算法来对它进行运算,但标准算法并不是为字符串处理定制的,很多时候会显得有些"笨拙".string_
algo
huang_xw
·
2012-12-06 23:00
5.2 变长参数表(函数的实参个数可变)编程示例
/*
algo
5-2.c变长参数表(函数的实参个数可变)编程示例*/ #include"c1.h" #include/*实现变长参数表要包括的头文件*/ typedefintElemType; ElemTypeMax
sjmping
·
2012-11-17 12:00
boost string_
algo
string_
algo
: std::string符合容器的定义,可以把它看做元素类型为char(或wchar_t)的序列容器,可以使用标准算法来对它进行运算。
mmzsyx
·
2012-11-16 17:00
boost lexical_cast format
【2】string_
algo
库提供了大量常用的字符串处理函数 【3】tokenizer和xpressive,前者是一个分词器,后者则是一个灵活的正则表达式分析器,同时也是一个语法分析器.lexical_
mmzsyx
·
2012-11-16 17:00
4.4 串操作应用举例 还没仔细看
/*
algo
4
sjmping
·
2012-11-11 14:00
algo
3-4-3.c 利用非循环顺序队列采用广度搜索法求解迷宫问题(一条路径)
/*
algo
3-11.c利用非循环顺序队列采用广度搜索法求解迷宫问题(一条路径)*/ #include"c1.h" #include"func3-1.c" #defineD8/*移动方向数,只能取4和
sjmping
·
2012-11-10 15:00
algo
3-3-10.c Hanoi塔问题 (没仔细看)
/*
algo
3-10.cHanoi塔问题,调用算法3.5的程序*/ #include intc=0;/*全局变量,搬动次数*/ voidmove(charx,intn,charz) {/*第n个圆盘从塔座
sjmping
·
2012-11-07 20:00
algo
3-3-9.c 用递归函数求解迷宫问题(求出所有解) (没仔细看了)
/*
algo
3-9.c用递归函数求解迷宫问题(求出所有解)*/ #include"c1.h"/*根据《PASCAL程序设计》(郑启华编著)中的程序改编*/ #include"func3-1.c"/*定义墙元素值为
sjmping
·
2012-11-07 20:00
3.2.5 表达式求解
/*func3-2.calgo3-6.c和
algo
3-7.c要调用的函数*/ charPrecede(SElemTypet1,SElemTypet2) {/*根据教科书表3.1,判断t1,t2两符号的优先关系
sjmping
·
2012-11-06 22:00
3.2.4 迷宫求解
/*func3-1.calgo3-5.c、
algo
3
sjmping
·
2012-11-06 21:00
3.2栈的应用举例----数制转换、括号匹配及行编辑
(1) 十进制转换为进制N(2~9)/*
algo
3-1.c调用算法3.1的程序*/ #defineN 2/*定义待转换的进制N(2~9)*/ typedefintSElemType;/*定义栈元素类型为整型
sjmping
·
2012-11-06 21:00
main2-3-2.c 两个仅设表尾指针的循环链表的合并(教科书图2.13)
/*
algo
2-10.c两个仅设表尾指针的循环链表的合并(教科书图2.13)*/ #include"c1.h" typedefintElemType; #include"c2-2.h" #include"bo2
sjmping
·
2012-11-03 21:00
algo
2-3-1.c 利用无头结点的单链表结构处理教科书图2.1(学生健康登记表)
/*
algo
2-6.c利用无头结点的单链表结构处理教科书图2.1(学生健康登记表)*/ #include"c1.h" #defineNAMELEN8/*姓名最大长度*/ #defineCLASSLEN4
sjmping
·
2012-10-28 20:00
algo
2-3-1.c 教科书中图2.10 静态链表示例
/*c1.h(程序名)*/ #include #include #include/*malloc()等*/ #include/*INT_MAX等*/ #include/*EOF(=^Z或F6),NULL*/ #include/*atoi()*/ #include/*eof()*/ #include/*floor(),ceil(),abs()*/ #include/*exit()*/ /*函数结
sjmping
·
2012-10-28 20:00
func2-3-1.c 不带头结点的单链表的扩展操作
/*func2-1.c不带头结点的单链表(存储结构由c2-2.h定义)的扩展操作(3个)*/ /*
algo
2-6.c和bo7-2.c用到*/ voidInsertAscend(LinkList*L,ElemTypee
sjmping
·
2012-10-28 20:00
algo
2-3.c
/*
algo
2-5.c实现算法2.11、2.12的程序*/ #include"c1.h" typedefintElemType; #include"c2-2.h" #include"bo2-2.c"
sjmping
·
2012-10-28 20:00
Algo
2-2.c
/*
algo
2-4.c修改算法2.7的第一个循环语句中的条件语句为开关语句,且当*/ /**pa=*pb时,只将两者中之一插入Lc。
sjmping
·
2012-10-28 17:00
1.4 算法与算法分析
算法一:/*
algo
1-1.c计算1-1/x+1/x*x…*/#include#includeintmain(){sturct tim
sjmping
·
2012-10-28 16:00
实现顺序表的各种基本运算
编写一个程序
ALGO
2-1.CPP,实现顺序表的各种基本运算,并在此基础上设计一个主程序完成如下功能: (1)初始化顺序表L (2)依次采用尾插法插入a,b,c,d,e元素 (3)输出顺序表L:
·
2012-10-11 20:00
顺序
寻找发帖水王
packagecom.chruan.test.
algo
; /** *寻找发帖水王 *@authorChruan *@versionv1.0 *@dateOct
chruan
·
2012-10-10 15:00
i2c struct i2c_adapter /i2c_client /i2c_driver /i2c_add_driver() /i2c_register_driver()
2structmodule*owner; 3unsignedintid; 4unsignedintclass;//适配器支持的类型,如传感器,eeprom等 5conststructi2c_algorithm*
algo
angle_birds
·
2012-09-23 23:00
c
list
struct
Module
Class
structure
[classic
algo
]-heap sort 堆排序
#include usingnamespacestd; #defineMAXSIZE10000 intdata[MAXSIZE]; intheapSize=0; voidheapShift(inti){ intleft=i*2+1; intright=i*2+2; intlargest=i; if(left=0;--i) heapShift(i); } void
NEOMc
·
2012-08-17 20:00
I2C之知(六)--s3c2440用I2C接口访问EEPROM
本来是想用s3c2440的SDA和SCL管脚复用为GPIO来模拟的,但在没有示波器的情况下搞了一周,怎么都出不来,最后还是放弃了.甚至参考了linux下i2c-
algo
-bit.c和i2c-gpio.c
dndxhej
·
2012-08-05 20:00
数据结构
c
linux
文档
Signal
output
poj Drainage Ditches
模版题,很多人A.模版:http://blog.csdn.net/rookie_
algo
/article/details/7803313#include usingnamespacestd; constintinf
rookie_Algo
·
2012-07-30 21:00
优化
SAP
本周google更新概况
本周google更新概况关注googleSEO的同学应该看到一些文章是关于google最新algorithm,
algo
更新,penguin更新,翻译应该是企鹅更新,此次的google算法主要针对的是推广的
这厮
·
2012-04-29 09:00
WinDump使用说明
[ -F file ] [ -i interface ] [ -m module ] [ -r file ] [ -s snaplen ] [ -T type ] [ -w file ] [ -E
algo
guo583
·
2012-04-27 18:00
dump
Intro-to-
algo
(counting sort, radix sort, decis...
========================================Lecture5Howfastcanwesort?comparisonsortse.g.quicksort,insertionsort,mergesort,heapsortNocomparisonsortingalgorithmcouldrunbetterthannlgn.=======================
ChenQi
·
2012-04-25 00:00
jni调用adb打印
(constchar*fmt,...) { va_listvl; va_start(vl,fmt); __android_log_vprint(ANDROID_LOG_ERROR,"ccstroke_
algo
ttxgz
·
2012-04-18 12:00
Intro to
Algo
- lecture 2 - solving recurrences
===============================================================Lecture2AsymptoticNotationandRecurrences===============================================================SolvingRecurrences1.Substitutionme
ChenQi
·
2012-04-16 22:00
[原]温故而知新之简单排序算法
packagecom.ccl.
algo
; publicclassSimpleSort{ /** *假设有N个数据需要排序,则从第0个数开始,依次比较第0和第1个数据,如果第0个大于第1个则两者交换,
qcyycom
·
2012-04-13 13:00
[原]java 金典算法实现
packagecom.ccl.
algo
; publicclassClassical{ /** *@paramargs *@authorchanglun.cheng *@see默默寒窗苦code */
qcyycom
·
2012-04-12 17:00
IIC协议
r=ioctl(fd,I2C_FUNCS,&funcs)是查看其功能,它最终调用
algo
通信方式中的functionality()函数r=ioctl(fd,I2C_SLAVE,addr)这个函数设置要通信的从设备地址
petershina
·
2012-04-05 12:00
c
struct
user
command
null
byte
hdu 1251 统计难题(trie树)
hdoj的1251求前缀字符串的个数,模版水过,参照dd牛模版#include//
algo
:trietree #include #include
cqlf__
·
2012-03-27 21:00
struct
null
上一页
11
12
13
14
15
16
17
18
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他