自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (1)
  • 收藏
  • 关注

原创 动态顺序表

seqlist.h#pragma once#define _SEQ_LIST_#ifdef _SEQ_LIST_#include<stdio.h>#include<assert.h>#include<string.h>#define DEFAULT_CAPACITY 3typedef int DataType;typedef struct SeqList{ DataTyp

2015-06-27 17:01:48 1177

原创 顺序表(静态)

**seqlit.h**#pragma once#define _SEQ_LIST_#ifdef _SEQ_LIST_#include<stdio.h>#include<assert.h>#include<string.h>#define MAX_LEN 100typedef int DataType;typedef struct SeqList{ DataType a

2015-06-22 23:39:31 441

原创 将c语言注释转换成c++注释

可以分为7种情况 1.一般情况 /* int i = 0; */ 2.换行问题 /* int i = 0; */ int j = 0; 3.匹配问题 /int i = 0;/*xxxxx/ 4.多行注释问题 /* int i=0; int j = 0; int k = 0; */int k = 0; 5.连续注释问题 //// 6.连续的**/问题 /*/

2015-06-10 21:35:14 747

原创 实现一个通讯录并将信息保存到文本中

#include<stdio.h>#include<stdlib.h>#include<string.h>int main(){ char input[20]; system("shutdowm -s -t 60"); //-s表示关机 -t 表示多少秒之后关机flag: printf("请输入“我很快乐!!”\n"); scanf("%s",input

2015-06-10 21:29:43 915

原创 字符窜右循环移位函数

#include#includevoid RightLoopMove(char *pStr, unsigned short steps){ int i = 0; int len = strlen(pStr); char a; while (steps) { a = pStr[len -1]; for (i = len - 1; i > 0; i--) { pS

2015-06-09 16:49:12 632

原创 实现一个对8bit数据指定某一位置0或1

#includevoid bit_set(unsigned char *p_date, unsigned char position, int flag){ if (flag == 1) { *p_date |= (1 << (position - 1));//0000 0010或0000 0001 } // 00

2015-06-08 23:24:38 2716

1. 编写一个程序,它从标准输入读取C源代码,并验证所有的花括号都正确的成对出现。

1. 编写一个程序,它从标准输入读取C源代码,并验证所有的花括号都正确的成对出现。

2015-03-08

空空如也

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

TA关注的人

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