/
lyapdy
/
Object_oriented_programming_cpp_318
Обзор
Документация
Войти
/
lyapdy
/
Object_oriented_programming_cpp_318
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
lab6/task_1.h
27 строк
481 B
danillyapunov
lab6com
11 янв 2026, 09:54
11 янв 2026, 09:54
7284f90
Код
Авторство
О чём код?
#ifndef TASK_1_H #define TASK_1_H #include <string> class Bruteforce { private: std::string password_; // constexpr static int max_length_ = 4; std::string charset_; public: Bruteforce(const std::string& pass, const std::string& char_set); bool brute(); static constexpr int getMaxLength(); }; class BruteforceRunner { private: void show_menu() const; std::string choose_charset(int choice) const; public: void run(); }; #endif // TASK_1_H