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

📄 notice.cpp

📁 图书馆管理系统 包括界面、书籍管理、会员管理等内容
💻 CPP
字号:
#include"liba.h"
void notice()
{
    FILE *fn;
    char notice[1000];
    window(1,1,80,2);
    textbackground(LIGHTGRAY);
    clrscr();
    textcolor(YELLOW);
    gotoxy(30,1);
    cprintf("Publish Notice");
    window(1,2,80,25); 
    textcolor(WHITE); 
    textbackground(BLUE);
    clrscr();
    fn=fopen("E:\\cpp\\notice.txt","wt+");
    printf("please input the notice:\n ");
    fflush(stdin);
    gets(notice);
    fwrite(notice,strlen(notice)+1,1,fn);
    fclose(fn);
    printf("\n\n");
    textcolor(RED);
    cprintf("press any key to return...");
    getch();
}

⌨️ 快捷键说明

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