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
hdu2639
至于递推过程,和0-1是一样的,不用担心会漏掉情况哦~,想想就出来了0.0 2012-07-10*/#include"stdio.h" #include"
string.h
Ice_Crazy
·
2012-07-10 20:00
C++
c
hdu2602
/*分析: 温习一下背包,两分钟敲完,比以前敲得好看多啦~~~ 2012-07-10*/#include"stdio.h" #include"
string.h
Ice_Crazy
·
2012-07-10 17:00
数字转换为金额(c实现)
只能到分 // //比较好的就是,连续的0只输出一个零 // //如:10010输出:1万零1十 #include"stdio.h" #include"conio.h" #include"
string.h
edcvf3
·
2012-07-08 13:00
c
vb
C中
string.h
@函数名称: strdup 函数原型: char*strdup(constchar*s) 函数功能: 字符串拷贝,目的空间由该函数分配 函数返回: 指向拷贝后的字符串指针 参数说明: src-待拷贝的源字符串 所属文件: #include #include #include intmain() { char*dup_str,*string="abcde"; dup_str=str
B_H_L
·
2012-07-06 16:00
c
String
null
less
buffer
character
C语言字符处理函数
用于输入输出的字符串函数,在使用前应包含头文件"stdio.h",使用其它字符串函数则应包含头文件"
string.h
"。下面介绍几个最常用的字符串函数。1.
20131125
·
2012-07-06 00:00
C语言字符处理函数
hdu2846
blog/item/3bf392c1c30569db51da4bc2.html 2012-07-05*/#include"stdio.h" #include"
string.h
Ice_Crazy
·
2012-07-05 18:00
string.h
里面几个安全函数的比较snprintf strncpy strncat
在字符串处理过程中会常用到以下几个函数 strcpy()sprintf()strcat() 但它们都存在一定的安全隐患,相对应用的安全版本为: strncpy()snprintf()strncat() intsprintf(char*buffer,constchar*format,[argument]…); intsnprintf(char*str,size_tsize,constchar*fo
一一无念
·
2012-07-05 17:00
hdu1671
2012-07-05*/#include"stdio.h" #include"
string.h
" #include"stdlib.h" structdic { structdic*child[10]
Ice_Crazy
·
2012-07-05 13:00
hdu1075
2012-07-05 */#include"stdio.h" #include"ctype.h" #include"
string.h
" #include"stdlib.h" structdictree
Ice_Crazy
·
2012-07-04 14:00
Linux下stricmp在此作用域中尚未声明解决办法
而linux是strcasecmp,包含在头文件
string.h
下。问题解决了
suer0101
·
2012-07-04 14:00
linux
windows
hdu1251
2012-07-04 */#include"stdio.h" #include"
string.h
" #include"stdlib.h" structdictree { structdictree
Ice_Crazy
·
2012-07-04 13:00
UVA 494
学习了接受换行的方法,scanf()遇到换行和空格就停止了,另外学习了一点儿编程技巧,写宏命令能让程序更短#include"stdio.h" #include"
string.h
" #defineFUN(
lirongwei
·
2012-06-16 20:00
6174问题
#include"stdio.h" #include"
string.h
" intget_next(intn); intget_next(intn) { inta,b,m,i,j,temp; chars
lirongwei
·
2012-06-12 23:00
杭电1042
最好在main()函数外声明a[M]#include"stdio.h" #include"
string.h
" #defineM50000 inta[M]; main() { intn,i,j,c,temp
lirongwei
·
2012-06-12 17:00
杭电1002
终于ac了,杭电要连续输入,记得每次测试结束后,将每个数组复位#include"stdio.h" #include"
string.h
" main() { inta[1010]={0},b[1010]={
lirongwei
·
2012-06-12 16:00
大数字问题
#include"stdio.h" #include"
string.h
" main() { inta[1010]={0},b[1010]={0},c[1010]={0}; inti,j,d,l1,l2,
lirongwei
·
2012-06-12 02:00
VC6编译代码时一种常见错误解决
错误代码如下:#include"stdio.h" #include"stdlib.h" #include"
string.h
" #defineINIT_SIZE100 #defineI
hiphopmattshi
·
2012-06-11 11:00
编程
exception
struct
null
Access
编译器
判断字符串周期的问题
#include"stdio.h" #include"
string.h
" #defineMAX100 main() { chara[MAX]; unsignedinti,j,ok; scanf("%s"
lirongwei
·
2012-06-10 12:00
回文问题
难点,输入字符的问题,fgets(buf,sizeof(s),stdin)输入一行字符,包括空格,\n#include"stdio.h" #include"
string.h
" #include"ctype.h
lirongwei
·
2012-06-09 13:00
蛇形t填数字问题
#include"stdio.h" #include"
string.h
" main() { intn,i,j,x,y,cou,a[10][10]; memset(a,0,sizeof(a)); scanf
lirongwei
·
2012-06-08 17:00
编写一个函数 输入一串字符 函数实现反转输出(图)
#include"stdAfx.h"#include"ctype.h"#include"stdlib.h"#include"
string.h
"intmain(){voidcon(charword[]);
一线生
·
2012-06-06 12:33
C
编写一个函数 输入一串字符 函数实现反转输出(图)
#include"stdAfx.h" #include"ctype.h" #include"stdlib.h" #include"
string.h
" intmain() { voidcon(charword
a973893384
·
2012-06-06 12:00
c
System
include
编写一个函数 接受两个字符串参数 如果 第一个参数被第二个包含 则输出第一个参数的首字符(图)
#include"stdAfx.h" #include"ctype.h" #include"stdlib.h" #include"
string.h
" intmain() { intz; intret(
a973893384
·
2012-06-05 20:00
hdu1217
第一次写Floyd,一次过哦~ 2012-06-05*/#include"stdio.h" #include"
string.h
" struct
Ice_Crazy
·
2012-06-05 19:00
编写一个函数 实现strncpy一样的功能(图)
#include"stdAfx.h" #include"ctype.h" #include"stdlib.h" #include"
string.h
" intmain() { char*strata(chars1
a973893384
·
2012-06-05 12:00
System
ini
include
编写一函数 用户输入字符串 函数将获取第一个单词输出 并丢掉后面的字符(图)
#include"stdAfx.h" #include"ctype.h" #include"stdlib.h" #include"
string.h
" intmain(intargc,char*argv
a973893384
·
2012-06-04 13:00
编写一个程序 输入字符串 直到遇到NULL 实现字符串的首字母排序(图)
#include"stdAfx.h" #include"stdlib.h" #include"
string.h
" #defineLIM20 #defineSIZE41 intmain(intargc
a973893384
·
2012-06-04 10:00
hdu2066
+_+0MS的都是怎么办到的…… 2012-05-30*/#include"stdio.h" #include"
string.h
" structA { intans
Ice_Crazy
·
2012-05-30 10:00
c
C标准库函数::
string.h
::strchr,strrchr的实现
/* strchr */ /* 该函数用来查找一个字符串中某个字符第一次出现的位置 */ /* 如果找到:返回绝对地址. 没有找到:返回NULL */ char* /* 返回字符串第一次出现的绝对位置 */ my_strchr ( const char* src, /* 被查找的字符串 */ char ch /* 需要查找的字符 */ ) {
·
2012-05-29 16:00
String
hdu1548
,考虑到a==b的情况了,但第一次错误的输出了a,--III,我的1A啊…… 2012-05-26*/#include"stdio.h" #include"
string.h
Ice_Crazy
·
2012-05-26 20:00
IE
[置顶] 数据结构试验-快速排序-堆排序
这次直接上传代码:文件1 t11.h#include"stdio.h"#include"
string.h
"#include"ctype.h"#include"malloc.h"#include"stdlib.h
wu10045125
·
2012-05-23 21:00
[置顶] 数据结构实验-查找-哈希表
数据结构已经快学完了,这是自己的第9个实验包含头文件的文件,在t11.h中#include"stdio.h"#include"
string.h
"#include"ctype.h"#include"malloc.h
wu10045125
·
2012-05-23 21:00
hdu2531
虽然因为一个判断条件写错了而没有1A,不过好赖思路是自己的,还是很happy的O(∩_∩)O~ 2012-05-23*/#include"stdio.h" #include"
string.h
Ice_Crazy
·
2012-05-23 13:00
struct
UP
大写字母标号转为数值
如“A”表示1;“AB"表示(27+2);、、、、、、#include"
string.h
"#include"stdio.h"#include"stdlib.h"#include"math.h"intchar_to_num
zhymxt
·
2012-05-21 22:00
字典树 poj 2001
思路: 一开始我们很容易想到用一大堆
string.h
里面的各种字符串处理的函数。但这类问题数据量一般很大,一般会超时,而且不好写(我是不会写也不敢
Bill_Ming
·
2012-05-20 17:00
c
算法
struct
null
2010
hdu1059
2012-05-16*/#include"stdio.h" #include"
string.h
" intdp[60011]; intmain() { intnum[7]; inti,l,k; intsum
Ice_Crazy
·
2012-05-16 09:00
调用一个函数 三个值 一个数输出的字符 另外两个是 行 列数(图)
#include"stdAfx.h" #include"ctype.h" #include"stdlib.h" #include"
string.h
" #include"windows.h" intmain
a973893384
·
2012-05-15 15:00
c
System
include
linux下安装log4cxx
主要有
string.h
/stdio.h===================================================简介apache出品必属精品。
执迷的信徒
·
2012-05-14 15:41
开发应用
linux下安装log4cxx
主要有
string.h
/stdio.h===================================================简介apache出品必属精品。
Challenge_C_PlusPlus
·
2012-05-14 15:00
apache
log4j
工作
xml
linux
网络
string、
string.h
与cstring 的作用和区别
转自:http://topic.csdn.net/u/20070402/18/7111613b-c5e4-485e-a5d0-33de9aebbaea.html?seed=1374012296&r=55818907#r_55818907 6楼#includevoidmain(){stringaaa="abcsdd";printf("lookingforabcfromabcdecd%s\n",(st
sea310
·
2012-05-14 11:00
c
String
扩展
iostream
图形
编译器
强连通缩点
使用说明:需要邻接表模板,强连通模板,头文件
string.h
宏定义#defineCLR(arr,v)memset(arr,v,sizeof(arr))在执行强连通模板后,执行缩点模板把缩过点后的图存到邻接表
fire__ice
·
2012-05-11 16:28
模板
图论--强连通
memcopy和memmove的区别(笔试,面试)
两个函数都在头文件
string.h
中定义,函数原型为:void*__cdeclmemcpy(void*dst,constvoid*src,size_tcount);void*__cdeclmemmove
·
2012-05-10 21:00
copy
hdu2955
2012-05-10*/#include"stdio.h" #include"
string.h
" doublemin(doublea,doubleb) { retur
Ice_Crazy
·
2012-05-10 17:00
hdu2674
2012-05-09*/#include"stdio.h" #include"
string.h
" intmain() { charstr[22]; inti; inttemp; intans; while
Ice_Crazy
·
2012-05-09 22:00
C++ 中字符数组的使用方法
如下: #include //注意这里不是
string.h
string.h
是C字符串头文件 1.声明一个C++字符串 声明一个字符串变量很简单: string Str; 这样我们就声明了一个字符串变量
hedafighter2011
·
2012-05-08 19:00
[置顶] 邻接表-图的遍历-广度和深度优先遍历
将常用的头文件放在t11.h中 #include"stdio.h"#include"
string.h
"#include"ctype.h"#include"malloc.h"#include"stdlib.h
wu10045125
·
2012-05-05 10:00
数据结构
c
算法
struct
null
语言
hdu1081
O(∩_∩)O~ 其实--III,max不能初始为零的,因为,最大值可能为负…… 2012-05-04*/#include"stdio.h" #include"
string.h
Ice_Crazy
·
2012-05-04 22:00
hdu1292
特别的,当i==l的时候:f[i][l]=1;*/ #include"stdio.h" #include"
string.h
" intmain() { __int64f[25][25]; inti,l,j
Ice_Crazy
·
2012-04-30 10:00
c语言中判断一个字符串是否包含另一个字符串
1.使用库函数
string.h
strstr函数 函数名:strstr 功能:在串中查找指定字符串的第一次出现 用法:char*strstr(char*str1,char*str2); 说明:返回指向第一次出现
fakine
·
2012-04-27 14:00
c
null
System
语言
如何用C语言清空特定文件夹中的所有文件
#include"iostream.h" #include"
string.h
" #include"stdlib.h" #include"time.h" #include"math.h" #include"windows.h
zqt520
·
2012-04-25 20:00
c
String
语言
上一页
36
37
38
39
40
41
42
43
下一页
按字母分类:
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
其他