- 博客(9)
- 资源 (2)
- 收藏
- 关注
原创 结构体套二级指针.c
#define _CRT_SECURE_NO_WARNINGS#include "stdio.h"#include "string.h"//// 查找字符在数组中出现的位置//void Search_Str_Pos(const char *table[], const int size,char *str, int *pos)//{// char **temp;// int ...
2018-05-24 23:28:05 211
原创 结构体套一级指针
#define _CRT_SECURE_NO_WARNINGS#include "stdio.h"#include "string.h"//// 查找字符在数组中出现的位置//void Search_Str_Pos(const char *table[], const int size,char *str, int *pos)//{// char **temp;// int ...
2018-05-24 21:24:33 185
原创 两个赋值指针变量挖字符串.c(高级)
#include "string.h"#include "stdio.h"//遍历扫描字符串中字符出现的个数int Scan_Charnum(char *str,int *char_count,char c){ int num = 0; char *temp_str = str; char *temp; if (str == NULL
2018-05-19 22:01:07 135
原创 玩轉多級指針
#include "stdio.h"#include "string.h"int getMem(char ***p,int num){ char **temp = NULL; int i = 0; if (p == NULL) { return -1; } temp = (char **)malloc(sizeof(char *...
2018-05-16 15:04:10 114
原创 二级指针做输入第三种数据类型
#define _CRT_SECURE_NO_WARNINGS#include "stdio.h"#include "string.h"//打印函数---打印数组void print_array(char *string_word, char *array[], int num){ int i = 0; printf("%s\n", string_word); f...
2018-05-15 22:56:07 136
原创 二级指针做输入第二种数据类型
#define _CRT_SECURE_NO_WARNINGS#include "stdio.h"#include "string.h"//打印函数---打印数组void print_array(char *string_word, char array[10][20], int num){ int i = 0; printf("%s\n", string_word);...
2018-05-15 22:26:20 197
原创 二级指针做输入第一种数据类型
include “stdio.h”include “string.h”//打印函数—打印数组 void print_array(char *string_word,char *array[],int num) { int i = 0; printf(“%s\n”, string_word); for (i = 0; i < num; i++) ...
2018-05-15 21:17:42 140
原创 查找字符串子串个数
#include "stdio.h"#include "string.h"int count_str(char *p,char * sub,int *num){ int temp=0; if (p == NULL || sub == NULL || num == NULL) return -1; while (strstr(p, sub)!=NUL...
2018-05-15 18:49:32 1459
原创 C语言-排序(冒泡、选择)封装
#include "stdio.h"// 打印函数void print(int arrary[], int num){ int i = 0; for (i = 0; i < num; i++) printf("%d\n", arrary[i]);}// 排序--冒泡void bubbule_sort_array(int array[], int n...
2018-05-03 22:26:29 520
svn的所有jar包
2016-05-23
SVN的jar包
2016-05-16
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人