Files
WordsSortingCpp/WordsSorting/FileTools.h
2021-05-05 15:34:09 +02:00

21 lines
420 B
C++

#pragma once
#include <vector>
#include <string>
using namespace std;
class FileTools
{
public:
/*
* brief: Read the file provided and store each word/line in the output
*/
static void ExtractWordsFromFile(const string& iFilePath, vector<string>& oWords);
/*
* brief: Save the porcessed words to an output file
*/
static void SaveRseult(const vector<string>& iWords, const string& iPath, bool isReverse);
};