d04 ex02 ok, presque rien a changer ou je me trompe ?
This commit is contained in:
30
d04/ex01/headers/Brain.hpp
Normal file
30
d04/ex01/headers/Brain.hpp
Normal file
@@ -0,0 +1,30 @@
|
||||
#ifndef BRAIN_HPP
|
||||
# define BRAIN_HPP
|
||||
|
||||
#include "color.h"
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
#define SIZE_IDEAS 100
|
||||
|
||||
class Brain {
|
||||
|
||||
public:
|
||||
|
||||
Brain( void );
|
||||
Brain( Brain const & src );
|
||||
~Brain( void );
|
||||
Brain & operator=( Brain const & rhs );
|
||||
|
||||
void printIdea(int pos);
|
||||
void putIdea(int pos, std::string idea);
|
||||
void printIdeas();
|
||||
void putIdeas(std::string idea);
|
||||
|
||||
private:
|
||||
|
||||
std::string _ideas[SIZE_IDEAS];
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user