自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 资源 (2)
  • 收藏
  • 关注

原创 运算符重载

#include "iostream"using namespace std;class Complex{public: int a; int b;public: Complex(int a = 0, int b = 0) { this->a = a; this->b = b; } void pr...

2018-06-12 18:57:59 117

原创 c++_友元函数

#include "iostream"using namespace std;class A{private: int i; int a; int b;public: A(int a, int b) { this->a = a; this->b = b; }public: friend v...

2018-06-12 14:58:50 134

原创 单链表--基本操作 (增删改销毁、逆置)

#define _CRT_SECURE_NO_WARNINGS#include "stdio.h"#include "malloc.h"typedef struct DataList{ int x; struct DataList *next;}DataList;// 链表创建int List_Create(DataList **p){ DataList ...

2018-06-02 19:38:56 677

原创 结构体套二级指针.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 194

原创 结构体套一级指针

#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 168

原创 两个赋值指针变量挖字符串.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 124

原创 玩轉多級指針

#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 102

原创 二级指针做输入第三种数据类型

#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 126

原创 二级指针做输入第二种数据类型

#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 179

原创 二级指针做输入第一种数据类型

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 127

原创 查找字符串子串个数

#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 1445

原创 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 471

原创 C语言进阶学习--作业

// function: 去除一组字符串中的空格// author: sunny townvoid trimSpace(char *inbuf, char *outbuf){ char *temp = NULL; temp = inbuf; while (*temp) { while (*temp == ' ') { ...

2018-04-18 11:06:52 104

原创 java实现简单五子棋

package crazyit;/**Description: * CopyRight,stc * program 简单五子棋的设计 * Date:6.17 * @author sunt * @version 1.0 */import java.io.BufferedReader;import java.io.InputStreamReader;public class Gobang

2016-06-17 09:52:33 901

原创 java实现浮点数转换成人民币读法字符串,希望大家多多指教!

java实现浮点数转换成人民币读法字符串 package crazyit;public class Num2Rmb { private String[] hanArr = {"零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖"}; private String[] danArr = {"十", "百", "千", "万"}

2016-06-16 11:58:28 455

svn的所有jar包

2016-05-23

SVN的jar包

2016-05-16

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除