- 博客(8)
- 资源 (1)
- 收藏
- 关注
原创 指针数组将文本行排序
#include #include #define MAXLINES 5000char *lineptr[MAXLINES];int readlines(char *lineptr[],int nlines);void writelines(char *lineptr[],int nlines); void qsort(char *lineptr[],int left,int righ
2014-08-28 19:50:10 430
原创 strncat函数
#include #include void strncat(char *s,char *t);/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char *argv[]) { re
2014-08-22 17:25:36 763
原创 库函数strncpy
#include #include void strncpy(char *s,char *t);/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char *argv[]) { return 0;}
2014-08-22 17:08:46 374
原创 函数strend(s,t)
#include #include /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int strend(char *s,char *t);int main(int argc, char *argv[]) { return 0;}
2014-08-22 16:25:06 2305
原创 把字符串t复制到字符串s的尾部
#include #include void strcat(char *s,char *t);/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char *argv[]) { return 0;
2014-08-22 15:41:42 3262
原创 c语言中strlen的几种写法
#include #include int strlen(char *s);/* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char *argv[]) { return 0;}int strle
2014-08-22 14:56:36 2836
原创 c语言 int 有无符号的min max值
#include #include /* run this program using the console pauser or add your own getch, system("pause") or input loop */int main(int argc, char *argv[]) { printf("unsigned int max=%u\n",UIN
2014-08-20 23:25:06 756
原创 c语言中的指针的基本需要理解的概念
存储单元一般应具有存储数据和读写数据的功能,一般以8字节作为一个存储单元。每个单元有一个地址,是一个整数编码,可以表示为二进制整数。程序中的变量和主存储器的存储单元相对应。变量的名字对应着存储单元的地址,变量内容对应着单元所存储的数据。
2014-08-18 14:38:53 323
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人