⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 saveengineerinformation.c

📁 软件测试工程师管理系统
💻 C
字号:
#include <stdio.h>
#include "stdlib.h"
#include "conio.h"
#include "main.h"
void SaveEngineerInformation(void)
{
	FILE *fp;
	int i=0;
	if((fp=fopen("Engineer.txt","w+"))==NULL)
	{
		printf("不能打开Engineer.txt文件,请按任意键结束!\n");
		getch();
		exit(1);
	}
	for(i=0;i<count;i++)
	{
		if(fwrite(&Engineer[i],sizeof(struct engineerstruct),1,fp)!=1)
		printf("不能写文件\n");
	}

	fclose(fp);
	printf("保存信息成功!\n");

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -