aboutsummaryrefslogtreecommitdiff
path: root/cpp00/ex01/Contact.hpp
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-11-09 11:26:50 +0100
committerCharles Cabergs <me@cacharle.xyz>2020-11-09 11:26:50 +0100
commitb799c007a1b6911fcbe5141429ea541e1277ebdd (patch)
treed70ad0826ad2fc2d635adf9afecf89af0838d20b /cpp00/ex01/Contact.hpp
parent1e9d90bdf9ef5fc05093d3449d883597c7f896de (diff)
downloadpiscine_cpp-b799c007a1b6911fcbe5141429ea541e1277ebdd.tar.gz
piscine_cpp-b799c007a1b6911fcbe5141429ea541e1277ebdd.tar.bz2
piscine_cpp-b799c007a1b6911fcbe5141429ea541e1277ebdd.zip
Fixing some edge cases in cpp00 and cpp01, Updated formatting
Diffstat (limited to 'cpp00/ex01/Contact.hpp')
-rw-r--r--cpp00/ex01/Contact.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp00/ex01/Contact.hpp b/cpp00/ex01/Contact.hpp
index d9fbee6..4717e55 100644
--- a/cpp00/ex01/Contact.hpp
+++ b/cpp00/ex01/Contact.hpp
@@ -6,7 +6,7 @@
/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/13 07:23:11 by charles #+# #+# */
-/* Updated: 2020/04/13 08:57:01 by charles ### ########.fr */
+/* Updated: 2020/11/09 09:30:12 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -22,12 +22,12 @@ class Contact
{
public:
static Contact prompt();
- void preview() const;
- void put() const;
+ void preview() const;
+ void put() const;
private:
- static void promptString(std::string promptString, std::string &s);
- static void promptInt(std::string promptString, int &i);
+ static void promptString(std::string promptString, std::string& s);
+ static void promptInt(std::string promptString, int& i);
static std::string trimedName(std::string name);
struct Address