| 12345678910111213141516171819202122232425262728 |
- /* ************************************************************************** */
- /* */
- /* ::: :::::::: */
- /* main.cpp :+: :+: :+: */
- /* +:+ +:+ +:+ */
- /* By: bchanot <bchanot@gmail.fr> +#+ +:+ +#+ */
- /* +#+#+#+#+#+ +#+ */
- /* Created: 2025/07/16 11:45:53 by bchanot #+# #+# */
- /* Updated: 2025/07/16 13:15:46 by bchanot ### ########.fr */
- /* */
- /* ************************************************************************** */
- #include "harl.class.hpp"
- int main(int ac, char **av) {
- std::array<std::string, 4> levels = Harl::getLevels();
- Harl harl;
- if (ac > 1) {
- for (int i = 0; i < 4; i++)
- if (levels[i].compare(av[1])) {
- harl.complain(av[1]);
- return 0;
- }
- }
- std::cout << "[ Probably complaining about insignificant problems ]" << std::endl;
- return 0;
- }
|