Initial markov structure

This commit is contained in:
Trimutex 2023-12-07 14:56:28 -06:00
parent 62ca36395f
commit 6007fafb9d
4 changed files with 18 additions and 3 deletions

View File

@ -1,5 +1,6 @@
add_executable(markov
./main.cpp
./generator.cpp
)
target_include_directories(markov PUBLIC ${CMAKE_CURRENT_LIST_DIR})

0
src/generator.cpp Normal file
View File

13
src/generator.hpp Normal file
View File

@ -0,0 +1,13 @@
#ifndef GENERATOR_HPP
#define GENERATOR_HPP
struct Generator {
public:
Generator(void);
void SetArguments(int argc, char* argv[]);
private:
int prefixLength = 0;
int outputLength = 0;
};
#endif // !GENERATOR_HPP

View File

@ -1,6 +1,7 @@
#include <iostream>
#include "generator.hpp"
int main(void) {
std::cout << "Hello world" << std::endl;
int main(int argc, char* argv[]) {
Generator markovChain;
markovChain.SetArguments(argc, argv);
return 0;
}