文档 所有空格变为Tab
2024-09-06 07:25:25
遗憾的是记事本、word没有这个功能。。。
可以生成exe
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <cstring>
#include <string>
#include <algorithm>
#include <iostream>
using namespace std;
#define ll long long const double eps=1e-;
const ll inf=1e9;
const ll mod=1e9+;
const int maxn=1e5+; int main()
{
char c;
FILE *in=fopen("in.txt","r");
FILE *out=fopen("out.txt","w");
while (~(c=fgetc(in)))
{
if (c==' ')
fprintf(out,"\t");
else
fprintf(out,"%c",c);
}
fclose(in);
fclose(out);
return ;
}
最新文章
- 基于HTML5的WebGL呈现A星算法的3D可视化
- BZOJ 1112: [POI2008]砖块Klo
- SQL Server2008 with(lock)用法
- Linux Kernel 3.11 正式版发布
- 浅谈Adapter中观察者模式
- codeforces A. Sereja and Bottles 解题报告
- 用vs2010 编写C语言程序,VS2010 C++编译报错LINK : fatal error LNK1123: 转换到 COFF 期间失败: 文件无效或损坏
- c++11:iota
- Jquery中index()问题
- filestream streamreader
- ES6入门
- FFmpeg开发实战(六):使用 FFmpeg 将YUV数据编码为视频文件
- Codeforces Round #551 (Div. 2) D. Serval and Rooted Tree (树形dp)
- linux固定IP
- js+css jQuery实现页面后退执行 &; 遮罩弹框
- *浅解嵌入式中的BootLoader
- timeout可以实现当一个命令在规定时间内不返回就强制返回的功能 + 杀毒安装ClamAV nmap 速度 比Telnet 快
- HttpURLConnection与HttpClient比较和使用示例
- BrowserSync前端同步测试工具
- 谷歌浏览器使用IE内核