自定义博客皮肤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)
  • 收藏
  • 关注

原创 王爽汇编 实验16 编写包含多个功能子程序的中断例程

assume cs:code,ss:stackstack segmentdb 128 dup (0)stack endscode segmentstart: mov ax,csmov ds,axmov si,offset int7c mov ax,0 mov es,ax mov di,200h cld mov cx,offset int7c_end - offset int7c rep movsb cli mov word

2022-01-24 16:11:14 128

原创 K&R 练习题6-2至6-4

#include <stdio.h>#include <ctype.h>#include <string.h>#include <stdlib.h>#define MAX_LINES 100#define MAX_LEN 1024typedef struct tree{char *word;int count;int line[...

2020-04-05 17:42:30 176

原创 上述getword函数不能正确处理下划线、字符串常量、注释及预处理器控制指令。请编写一个更完善的getword函数

#include <stdio.h>#include <ctype.h>#define MAX_KEY 11#define MAX_LEN 100#define WORD 1struct key{char *word;int count;} keytab[MAX_KEY] ={{“auto”, 0},{“break”, 0},{“case”, 0}...

2020-03-29 14:54:10 277

原创 K&R 练习5-14~5-17综合练习题原创

#include <stdio.h>#include <string.h>#include <stdlib.h>#include <ctype.h>#define MAX_LINES 1024int state;enum{MODE = 0xf,NUM = 0x1,RE = 0X2,FREE = 0X4,DIGIT = 0X...

2020-03-24 22:07:53 130

原创 结合hash表和位运算做个小项目

这是一个模拟游客旅游目的地信息登记的小项目,主要运用hash表和位运算,用hash表,主要是方便姓名查找,而采用位运算方法记录地址,方便对比,而且可以降低内存。#include <stdio.h>#include <string.h>typedef struct visitor{int number;char *name;char *telephone;i...

2020-03-06 14:53:50 73

原创 K&R不论是说明,还是习题,都非常经典,强烈建议大家看看

#include <stdio.h>#include <string.h>#include <ctype.h>typedef struct{char *line;unsigned int len;}LINE;int getline(char *temp, int max_len); //获取单行char *strdup(char *temp...

2020-03-04 16:01:45 280

空空如也

空空如也

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

TA关注的人

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