aboutsummaryrefslogtreecommitdiff
path: root/cpp02/ex01/main_DO_NOT_TURN_ME_IN.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp02/ex01/main_DO_NOT_TURN_ME_IN.cpp')
-rw-r--r--cpp02/ex01/main_DO_NOT_TURN_ME_IN.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/cpp02/ex01/main_DO_NOT_TURN_ME_IN.cpp b/cpp02/ex01/main_DO_NOT_TURN_ME_IN.cpp
index f2eb5e0..ea1cd08 100644
--- a/cpp02/ex01/main_DO_NOT_TURN_ME_IN.cpp
+++ b/cpp02/ex01/main_DO_NOT_TURN_ME_IN.cpp
@@ -6,7 +6,7 @@
/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/13 11:51:15 by charles #+# #+# */
-/* Updated: 2020/11/10 10:00:32 by cacharle ### ########.fr */
+/* Updated: 2020/11/11 13:53:50 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -32,5 +32,12 @@ int main(void)
std::cout << "c is " << c.toInt() << " as integer" << std::endl;
std::cout << "d is " << d.toInt() << " as integer" << std::endl;
+ std::cout << std::endl << "===============================================" << std::endl;
+ std::cout << "a is " << a.toFloat() << " as float" << std::endl;
+ std::cout << "b is " << b.toFloat() << " as float" << std::endl;
+ std::cout << "c is " << c.toFloat() << " as float" << std::endl;
+ std::cout << "d is " << d.toFloat() << " as float" << std::endl;
+ std::cout << "===============================================" << std::endl << std::endl;
+
return 0;
}