📄 funtc79b.dat
字号:
#include <stdio.h>
#include <conio.h>
#include <process.h>
#include <dos.h>
int main(void)
{
int i, strt, ch_out, sector; char buf[512];
printf("Insert a diskette into drive A and press any key");
getch();
sector = 0;
if(absread(0,1,sector,&buf)!=0)
{
perror("Disk problem");
exit(1);
}
printf("Read OK");
strt = 3;
for (i=0; i<80; i++)
{
ch_out = buf[strt+i];
putchar(ch_out);
}
printf("");
return(0);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -