📄 compare.h
字号:
#ifndef COMPARE_H_INCLUDED
#define COMPARE_H_INCLUDED
#include <string>
#include <fstream>
#include <iostream>
namespace ARM{
class Compare
{
public:
static Compare & instance(void);
~Compare();
//fs = new std::ofstream(filename.c_str(), std::ios::app);
bool open_file(std::string file);
bool write_to_file(std::string content);
bool append_to_file(std::string content);
bool append_to_file(unsigned int val);
bool append_enter();
bool compare(std::string f1, std::string f2, int line_sum);
void clear(std::string file);
private:
std::ofstream * out;
};
}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -