代码搜索:字符型
找到约 10,000 项符合「字符型」的源代码
代码结果 10,000
www.eeworm.com/read/243130/12960651
txt delphi函数说明 (2001年3月30日).txt
delphi函数说明 (2001年3月30日)
网友更新 分类:杂类 作者: leonfang(推荐) 推荐:leonfang 阅读次数:533
(http://www.codesky.net)
--------------------------------------------------------------------------------
《D
www.eeworm.com/read/320714/13419424
h string.h
#ifndef _STRING_H_
#define _STRING_H_
#ifndef NULL
#define NULL ((void *) 0)
#endif
#ifndef _SIZE_T
#define _SIZE_T
typedef unsigned int size_t;
#endif
extern char *strerror (int errno);
/*
* This
www.eeworm.com/read/319404/13452348
m ex0701.m
%例7-1 字符串的创建
a=' a';b='b b';c='c '; %用单引号创建字符串,都由四个字符组成
length(a),length(b),length(c) %获取字符串长度
ABC=[a b c] %用方括号连接三个字符串,空格不被裁切
length(ABC)
sAC=strcat(a,c) %用strcat函数连接字符串,每个字符串最右边的空格被裁切
l
www.eeworm.com/read/311705/13626920
txt sscanf.txt
sscanf的使用 大家都知道sscanf是一个很好用的函数,利用它可以从字符串中取出整数、浮点数和字符串等等。它的使用方法简单,特别对于整数和浮点数来说。但新手可能并不知道处理字符串时的一些高级用法,这里做个简要说明吧。
1. 常见用法。
char str[512] = {0};
sscanf("123456 ", "%s", str);
printf("str=%s\n", ...
www.eeworm.com/read/143286/5758399
txt src_matrix_product.txt
"E:\\源程序\\第5章 字符、字符串、数组\\C521\\Matrix_product\\Matrix_product.java"
www.eeworm.com/read/143286/5758413
txt src_demon_phalanx.txt
"E:\\源程序\\第5章 字符、字符串、数组\\C520\\Demon_phalanx\\Demon_phalanx.java"
www.eeworm.com/read/143286/5758431
txt src_queen_problem.txt
"E:\\源程序\\第5章 字符、字符串、数组\\C518\\Queen_problem\\Queen_problem.java"
www.eeworm.com/read/143286/5758462
txt src_insert_number.txt
"E:\\源程序\\第5章 字符、字符串、数组\\C519\\Insert_number\\Insert_number.java"
www.eeworm.com/read/129770/5970143
dat funtc38.dat
函数名 strlen
函数原型 unsigned int strlen(char * str);
功能 统计字符串str中字符的个数(不包括终止符'\0').
返回值 返回字符个数 .
包含文件 string.h
www.eeworm.com/read/129770/5970227
dat codetc26.dat
字符数组
用来存放字符数据的数组是字符数组.字符数组中的一个元素存放一个字符.
字符数组的定义
定义方法与前面介绍的类似.例如:
char c[10];
c[0]='I';c[1]=' ';c[2]='a';c[2]='m';c[2]=' ';c[2]='h';c[2]='a';c[2]='p';c[2]='p';c[2]='y';
定义c为字符数组,