📄 lab1infogathering.c
字号:
#include "fileio.h"
extern unsigned long dataAddress;
extern unsigned long rootAddress;
extern unsigned long FATAddress;
int main (void)
{
FILE * myfile;
char buffer[20] = "Hello, world";
const char name[] = "Hello.txt";
const char write[] = "w";
FAT16Init();
myfile = fopen (name, write);
fwrite (buffer, 1, 12, myfile);
fclose (myfile);
while(1);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -