Setup getting filename and inputting list
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#ifndef SORTS_H
|
||||
#define SORTS_H
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class Sorter
|
||||
{
|
||||
private:
|
||||
std::string filename;
|
||||
std::vector<std::string> wordList;
|
||||
public:
|
||||
void SetFileName(std::string newName);
|
||||
std::string GetFileName(void);
|
||||
void SetWordList(void);
|
||||
void InsertionSort(void);
|
||||
void MergeSort(void);
|
||||
void HeapSort(void);
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user