23 lines
383 B
C++
23 lines
383 B
C++
#ifndef MYFUNC_OOP_HPP
|
|
#define MYFUNC_OOP_HPP
|
|
|
|
#include <cstdint>
|
|
|
|
class MyfuncOOP {
|
|
public:
|
|
MyfuncOOP(const char* alfabet, const char* slowo, uint8_t* wynik);
|
|
|
|
void countCharacters();
|
|
|
|
const uint8_t* getResults() const;
|
|
|
|
private:
|
|
const char* alfabet;
|
|
const char* slowo;
|
|
uint8_t* wynik;
|
|
|
|
static int myStrlen(const char* str);
|
|
};
|
|
|
|
#endif // MYFUNC_OOP_HPP
|