自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 动态顺序表

//seqlist.h#ifndef __SEQLIST_H__#define __SEQLIST_H__#define CAPACITY 3typedef struct{ int *array; int size; int capacity;}Seqlist;typedef enum{ TRUE, FALSE,}Tag;typedef struct{ T

2015-06-25 19:18:40 464

原创 注释转换(C->C++)

#include#includevoid Annotationconvert(FILE *inFile,FILE *outFile){ char firstCh; char secondCh; int flag=1; //控制,解决input.c里的3 do { firstCh=fgetc(inFile); switch(firstCh) { case'/':

2015-06-25 13:53:29 398

原创 字符串的循环右移

#include#includevoid RightLoopMove(char *pstr,unsigned short steps){ //steps为向右移动的位数 int len; unsigned short i=0; int j=0; len=strlen(pstr); for(i=0;i<steps;i++) { char tmp=pstr[len-1];

2015-06-25 12:50:57 570

原创 对指定位进行置0或置1操作

#includevoid bit_set(unsigned char *p, unsigned char position, int flag){ if(flag==1) { //11110000 //00010000 *p|=(1<<(position-1)); } if(flag==0) { //11110000 //11101111 *p&=~(1<<(

2015-06-13 13:57:19 1010

空空如也

空空如也

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

TA关注的人

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