虹棠工作室博客 – 一个啥都分享的个人博客网站! - NOI
type: channel
link: https://www.hongtangstudio.cn/index.php/tag/NOI/
items: 「NOI」文件读入写出
items: 「调试」强制输出缓冲区的内容

「NOI」文件读入写出
type: item
date: 2021-04-07T00:28:00+08:00
description: 文件读入写出[noi格式]freopen("a.in","r",stdin); freopen("a.out","w",stdout);文件读入写出其他用法freopen("a.a","r",stdin); freopen("a.b","w",stdout);freopen("a.v","r",stdin); freopen("a.d","w",stdout);freopen("a.num","r",stdin); freopen("a.test","w",stdout);

「调试」强制输出缓冲区的内容
type: item
date: 2021-04-07T00:19:00+08:00
description: 当怀疑某条输出语句已经运行，但未在屏幕上显示，可以用此语句fflush(stdout);