21 lines
364 B
C++
21 lines
364 B
C++
#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 |