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
string.h
长嘘一口气。。。
#include"stdio.h" #include"
string.h
" constintLen=102; typedefstruct { charname[Len]; charvalue[Len]
Scythe666
·
2012-10-16 09:00
strcasecmp函数用法
strcasecmp1.功能:忽略大小写比较字符串2.头文件《
string.h
》3. 函数说明 strcasecmp()用来比较参数s1和s2字符串,比较时会自动忽略大小写的差异4.
HMSIWTV
·
2012-10-15 20:00
hdu3940
2012-10-15*/#include"stdio.h" #include"
string.h
" #include"math.h" #defineg9.8 intmain() { doubleh,v_x
Ice_Crazy
·
2012-10-15 14:00
hdu 1715 大菲波数 (大数)
#include"stdio.h" #include"
string.h
" inta[1001][1001]; intmain() { inti,j,k; intn,t; intcarry; scanf(
yyf573462811
·
2012-10-15 13:00
hdu 1405 The Last Practice (数学)
#include"stdio.h" #include"math.h" #include"
string.h
" intprime[65537]; voidfun() { inti,j,flag; memset
yyf573462811
·
2012-10-15 13:00
hdu 1723 Distribute Message (DP)
#include"stdio.h" #include"
string.h
" intmain() { intn,m,i,j,dp[66]; while(scanf("%d%d",&n,&m)!
yyf573462811
·
2012-10-15 13:00
hdu1599
最后再一次,囧~~~ 2012-10-15*/#include"stdio.h" #include"
string.h
" #include"stdlib.h" #include"queue
Ice_Crazy
·
2012-10-15 11:00
hdu 1017 A Mathematical Curiosity (水。。)
3)两个相邻的block之间输出空行,最后一块后面不用#include"stdio.h" #include"
string.h
" intmain() { intN; while(scanf("%d",&N
yyf573462811
·
2012-10-14 17:00
hdu1266 Reverse Number (模拟)
点击打开链接ps:按题目意思进行处理 #include"stdio.h" #include"
string.h
" intmain() { charstr1[111],str2[111]; intt,n,m
yyf573462811
·
2012-10-14 17:00
hdu 2126(dp)
点击打开链接题意:给你n件物品,m元钱,以及n件物品的价格,求最多物品数的方案数;刚开始,yf说可以先排序贪心求出最多的件数,然后按照完全背包的思路求解,#include"stdio.h" #include"
string.h
yyf573462811
·
2012-10-14 17:00
背包
HDU
种类数
hdu4396
2012-10-14*/#include"stdio.h" #include"
string.h
" #include"stdlib.h" #include"queue" usingnamespacestd
Ice_Crazy
·
2012-10-14 13:00
hdu4027
2012-10-13*/#include"stdio.h" #include"
string.h
" #include"stdlib.h" #include"math.h" structseg
Ice_Crazy
·
2012-10-13 18:00
hdu4022
2012-10-13*/#include"stdio.h" #include"
string.h
" #include"stdlib.h" structA { intx,y,index; }x[100011
Ice_Crazy
·
2012-10-13 17:00
hdu3714
2012-10-08*/#include"stdio.h" #include"
string.h
" #include"stdlib.h" #include"math.h" #definee1e-9 intn
Ice_Crazy
·
2012-10-08 17:00
hdu2603
2012-10-03*/#include"stdio.h" #include"
string.h
" #inc
Ice_Crazy
·
2012-10-03 10:00
hdu3280
2012-10-03*/#include"stdio.h" #include"
string.h
" #include"stdlib.h" structseg { __int64l,r,mid; __int64sum
Ice_Crazy
·
2012-10-03 09:00
poj2632模拟法
结构体中数据的内存对齐问题,在定义结构体是最好是遵守字节对齐原则, 简单说就是长字节的先定义,这样可以节省一些空间 */ #include<stdio.h>#include<
string.h
mayi_hetu
·
2012-09-27 12:00
c poj
链表增删改查系统 全手打- -!终于搞完了
//建立链表管理系统实现增删改查 #include"stdio.h" #include"
string.h
" #include"malloc.h" typedefstructnode { intdata;
liudao7994
·
2012-09-26 21:00
c
struct
null
hdu2189
2012-09-25*/#include"stdio.h" #include"
string.h
" intprime[100],k; intnum[151]; intmain() { intT; intn
Ice_Crazy
·
2012-09-25 13:00
hdu3419
2012-09-24*/#include"stdio.h" #include"
string.h
" inta,b,c; intans; inthash[10]; intbase[11],limit; intt_a
Ice_Crazy
·
2012-09-24 17:00
编程训练大数相乘
#include"stdio.h"#include"
string.h
"#defineMAX1024voidgetDigits(int*a,char*str){intlen=strlen(str);inti
hiphopmattshi
·
2012-09-21 23:10
算法学习
kernel对应的c库实现
对于普通应用程序,可以通过包含头文件stdlib.h和stdio.h,
string.h
等,然后调用需要的itoa(),atoi()等函数,但是对于Linux内核来说,无法使用那些C库中的函数。
zhangchiytu
·
2012-09-21 20:00
hdu2795
2012-09-21*/#include"stdio.h" #include"
string.h
" intw; structseg { intl,r,mid; intmax; }T[666666]; intMAX
Ice_Crazy
·
2012-09-21 12:00
Build
[置顶] strstr()函数-C语言
包含文件:
string.h
函数名:strstr函数原型:externchar*strstr(char*str1,char*str2);功能:找出str2字符串在str1字符串中第一次出现的位置(不包括str2
Nancy_m
·
2012-09-20 11:00
String
null
语言
C、C-plusplus语言中Chinese character的编码剖析
在一些字符显示程序里,大家可能会困惑汉字是怎么编码的,笔者通过程序帮大家剖析一下这个小细节:如汉字“中南”,通过如下程序输出其10进制编码:#include"stdafx.h"#include"
string.h
"charchineseStr
homeofresearcher
·
2012-09-19 16:17
计算机语言
hdu2102(WA代码)
#include"stdio.h" #include"
string.h
" #include"queue" usingnamespacestd; intn,m,limit; intmap[2][13][
Ice_Crazy
·
2012-09-16 20:00
ini
hdu2352
2012-09-16*/#include"stdio.h" #include"
string.h
" intmain() { intT; inti; intlen; charstr[1111]; intt,
Ice_Crazy
·
2012-09-16 19:00
c
hdu2672
囧~ 2012-09-16*/#include"stdio.h" #include"
string.h
" #include"ctype.h" intmain() { inta
Ice_Crazy
·
2012-09-16 19:00
hdu2682
/*分析: 最小生成树水题,就当又温习了一遍了,囧~ 2012-09-16*/#include"stdio.h" #include"math.h" #include"
string.h
Ice_Crazy
·
2012-09-16 18:00
hdu1873
2012-09-16*/#include"stdio.h" #include"
string.h
" #include"stdlib.h" #include"queue" usingnamespacestd
Ice_Crazy
·
2012-09-16 17:00
hdu1841
2012-09-16*/#include"stdio.h" #include"
string.h
" #include"stdlib.h" intlen[2]; intnext[2][100
Ice_Crazy
·
2012-09-16 17:00
hdu1166
2012-09-16*/#include"stdio.h" #include"
string.h
" intn; intC[50011]; voidadd(intk,intdir) { while(k0)
Ice_Crazy
·
2012-09-16 17:00
Linux静态库和动态库的创建与使用
和Windows系统一样Linux也有静态/动态链接库,下面介绍创建和使用方法:假设有下面几个文件:头文件
String.h
,声明相关函数原形,内容如下:Strlen.c:函数Strlen的实现,获取给定字符串的长度
slmmlk2011_2
·
2012-09-06 15:00
linux
String
function
gcc
null
library
一个字符串截取函数c语言
刚开始学习c语言,标准库中总是有很多函数没有,
string.h
中的字符串处理函数好像不是很多,在做栈的例子用需要用到一个字符串按位置截取的函数,就自己写一个,超简单。
sujudz
·
2012-09-01 21:00
c
语言
链表 航空订票 各种Bug原始版
// #include"stdafx.h" #include"windows.h" #include"iostream" #include"
string.h
" usingnamespacestd;
a973893384
·
2012-08-31 09:00
C语言怎么让一个函数返回指针
但是在
string.h
中,就有返回指针的函数,比如subString,那个是怎么做到得这种方式叫做“用指针函数*creat()的返回值来传递动态内存”,这是一个C语法首先你要注意,子函数*creat()
zhaojunjiezhao
·
2012-08-27 17:25
指针
C语言怎么让一个函数返回指针
但是在
string.h
中,就有返回指针的函数,比如subString,那个是怎么做到得这种方式叫做“用指针函数*creat()的返回值来传递动态内存”,这是一个C语法首先你要注意,子函数*creat()
zhaojunjiezhao
·
2012-08-27 17:25
指针
[置顶] 字符串的倒序排列
#include #include"
string.h
" #include intmain() { char*src="HelloWorld"; intlen=strlen(src); char*dest
qustdjx
·
2012-08-27 13:00
c
语言
include
memset
linux环境下一个直接操作内存空间的C语言函数 包含在头文件
string.h
中!
cuiyifang
·
2012-08-26 19:00
c 常用数学函数
数学函数,地点函数库为math.h、stdlib.h、
string.h
、float.hint abs(inti)
電泡泡
·
2012-08-25 01:00
C++中
string.h
自编的几个函数
今天刘老师讲了const,类型转换,函数指针的用法,以前没能认识到函数指针的强大,刘老师写排序时用到了函数指针,暧昧感觉到了函数指针的强大;最后他留了个作业,就是写
string.h
里的几个函数,我写了下
ultimater
·
2012-08-23 23:00
C++
作业
1021 最大特征值
#include"stdio.h" #include"
string.h
" charstr[1050]; intCount() { if(!
tanyufeng_521
·
2012-08-22 17:00
C语言 两字符串的合并
//#include"stdafx.h"#include"iostream.h"#include"
string.h
" voidmain()
zhongru0072010
·
2012-08-15 22:03
字符串
C语言
MTK HTTP 协议之内核
include"nw_define.h" #include"nw_interface.h" #include"Vmsys.h" #include"Stdio.h" #include"Soc_consts.h" #include"
String.h
jiangyu912
·
2012-08-13 10:00
timer
null
buffer
callback
download
MTK
求数组中第二大的数
1、代码如下:#include"stdafx.h" #include #include"
string.h
" #include intfind_sec_max(intdata[],intcount) {
dazhong159
·
2012-08-08 22:00
Poco::StringTokenizer & String
//Library:Foundation//Package:Core//Module: StringTokenizer功能:
String.h
文件中声明了几个静态函数,用于去除string的开头和结尾的空白字符
fym0121
·
2012-08-08 09:00
字符串 函数sprintf、strcpy 、strncpy及 memcpy , strftime,strcat
0616:56)标签: div class hidden 字符串 分类:C语言strcpy:字串复制原型声明:externchar*strcpy(char*dest,constchar*src);头文件:
string.h
zzy7075
·
2012-08-06 14:00
c
struct
null
buffer
语言
hdu 1106 排序
点击打开链接#include"stdio.h" #include"
string.h
" #include"stdlib.h" intcmp(constvoid*a,constvoid*b) { return
yyf573462811
·
2012-08-03 17:00
hdu 2768 Cat vs. Dog (最大独立)
#include"stdio.h" #include"
string.h
" #defineN501 structnode { charhate[5],like[5]; }c
yyf573462811
·
2012-08-03 17:00
C++
c
struct
hdu 4185Oil Skimming (二分匹配)
#include"stdio.h" #include"
string.h
" #defineN601 intmap[N][N],v[N],link[N],a[N][N]; charstr[N][N]; intn
yyf573462811
·
2012-08-03 16:00
ini
上一页
34
35
36
37
38
39
40
41
下一页
按字母分类:
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
其他