Removing c++ files
This commit is contained in:
@@ -1,41 +0,0 @@
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
#include <cctype>
|
||||
|
||||
#include "number_parser.hpp"
|
||||
|
||||
using std::cout;
|
||||
using std::string;
|
||||
using std::vector;
|
||||
using std::fstream;
|
||||
using std::stringstream;
|
||||
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
cout << "clean_files\n";
|
||||
|
||||
if (argc < 2)
|
||||
{
|
||||
cout << "Provide path to file\n";
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
const string filepath(argv[1]);
|
||||
parser::number_parser<parser::some_object> file_parser(filepath);
|
||||
auto raw_values = file_parser.file_dump();
|
||||
|
||||
auto parsed_values = file_parser.update_values(raw_values);
|
||||
file_parser.remove_duplicates(parsed_values);
|
||||
|
||||
file_parser.print_values(parsed_values);
|
||||
file_parser.save_file(parsed_values);
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user