Removing c++ files

This commit is contained in:
kdeng00
2023-08-22 20:24:29 -04:00
parent a1cad28c4d
commit 5542c19ddf
7 changed files with 0 additions and 450 deletions
-41
View File
@@ -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;
}