diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-04-13 10:33:05 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-04-13 10:33:05 +0200 |
| commit | 0f3240844dbd5a874e1565a988ef355ededab6a5 (patch) | |
| tree | efc1a1307863d173be17a12fbab6b84fe7d00960 /cpp01/ex00/Pony.hpp | |
| parent | 629d52b1262879a346e9ca17567a8f483c60ba0a (diff) | |
| download | piscine_cpp-0f3240844dbd5a874e1565a988ef355ededab6a5.tar.gz piscine_cpp-0f3240844dbd5a874e1565a988ef355ededab6a5.tar.bz2 piscine_cpp-0f3240844dbd5a874e1565a988ef355ededab6a5.zip | |
Fixing cpp01
Diffstat (limited to 'cpp01/ex00/Pony.hpp')
| -rw-r--r-- | cpp01/ex00/Pony.hpp | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/cpp01/ex00/Pony.hpp b/cpp01/ex00/Pony.hpp index 31a69f4..571414c 100644 --- a/cpp01/ex00/Pony.hpp +++ b/cpp01/ex00/Pony.hpp @@ -1,15 +1,27 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* Pony.hpp :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/04/13 09:26:16 by charles #+# #+# */ +/* Updated: 2020/04/13 09:27:49 by charles ### ########.fr */ +/* */ +/* ************************************************************************** */ + #ifndef PONY_HPP # define PONY_HPP class Pony { - public: - Pony(int w, int s); - void say_hello(); - void run(); - private: - int weight; - int max_speed; +public: + Pony(int weight, int maxSpeed); + void sayHello(); + void run(); +private: + int m_weight; + int m_maxSpeed; }; #endif |
