📄 in.txt
字号:
#include <fstream>
#include <string>
#include <iostream>
#include <iomanip>
using namespace std;
int main (int)
{
ifstream inf;
inf.open("in.txt");
ofstream outf;
outf.open("out.txt");
char c;
inf >> noskipws;
while(inf >>c)
{
if (c == '\n'){
outf << "\n";
cout << "\n";
}
else{
cout << c;
outf << c;
}
}
inf.close();
outf.close();
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -