文章列表

筛选

qsort快排函数cmp用法总结

摘要:函数参数:qsort(s,n,sizeof(s[0]),cmp);int数组:int cmp(const void *a, const void *b){       return(*(int *)a……

c++中string类的简单介绍

摘要:#include "iostream" #include "string" using namespace std; /*@author:浅滩 *family:c++中string类的简单介绍……

实用不常用的字符串字符函数记录

摘要:统一头文件<ctype.h>字符串:strncpy(p, p1, n) 复制指定长度字符串 strcat(p, p1) 附加字符串 strncat(p, p1, n) 附加指定长度字符串 strcas……

向世界级C语言大师致敬。

摘要:个人原创!!!!#include int main() {     printf(&((char)NULL)["www.如鹏网\0.com"]+((*"ru"-*"peng")<<SEEK_CUR……

数组也是一种数据类型

摘要:在C语言中数组本质上也是一种数据类型,例如,int a[10],数组a的类型就是int [10]下面通过程序分析一下:#include<stdio.h> int main()  {     in……