cpp-partie-1/cpp04/ex02/Brain.hpp
2024-02-20 15:35:19 +01:00

44 lines
1.4 KiB
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Brain.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: fgras-ca <fgras-ca@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/12/31 14:01:08 by fgras-ca #+# #+# */
/* Updated: 2023/12/31 16:18:37 by fgras-ca ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef BRAIN_HPP
#define BRAIN_HPP
#include <string>
#include <iostream>
#define RESET "\033[0m"
#define BLACK "\033[30m"
#define RED "\033[31m"
#define GREEN "\033[32m"
#define YELLOW "\033[33m"
#define BLUE "\033[34m"
#define MAGENTA "\033[35m"
#define CYAN "\033[36m"
#define WHITE "\033[37m"
class Brain
{
private:
std::string ideas[100];
public:
Brain();
Brain(const Brain &copy);
Brain& operator=(const Brain &operator_aff);
~Brain();
void setIdea(std::string idea, int i);
std::string getIdea(int i) const;
};
#endif