From b13cd117a7957f9d86ec2986b47349979325a854 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 14 Dec 2020 11:18:40 +0100 Subject: Fixing nanf not recognized in cpp06/00, Fixing serialization size to 52 bytes --- cpp06/ex02/Makefile | 4 ++-- cpp06/ex02/main.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'cpp06/ex02') diff --git a/cpp06/ex02/Makefile b/cpp06/ex02/Makefile index 8a8ffca..72c6dd1 100644 --- a/cpp06/ex02/Makefile +++ b/cpp06/ex02/Makefile @@ -6,14 +6,14 @@ # By: charles +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/04/15 09:59:30 by charles #+# #+# # -# Updated: 2020/11/18 09:22:44 by charles ### ########.fr # +# Updated: 2020/12/14 10:53:41 by cacharle ### ########.fr # # # # **************************************************************************** # NAME = identify_real_type CXX = clang++ -CXXFLAGS = -std=c++98 -Wall -Wextra -Werror +CXXFLAGS = -Wall -Wextra -Werror SRC = main.cpp A.cpp B.cpp C.cpp Base.cpp OBJ = $(SRC:.cpp=.o) diff --git a/cpp06/ex02/main.cpp b/cpp06/ex02/main.cpp index 86cd78f..28614ca 100644 --- a/cpp06/ex02/main.cpp +++ b/cpp06/ex02/main.cpp @@ -6,7 +6,7 @@ /* By: charles +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/15 10:00:18 by charles #+# #+# */ -/* Updated: 2020/11/18 09:29:49 by charles ### ########.fr */ +/* Updated: 2020/12/14 11:17:03 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -114,10 +114,10 @@ int main() for (int i = 0; i < 10; i++) { Base *b = generate(); - std::cout << "---" << std::endl; identify_from_pointer(b); identify_from_reference(*b); delete b; + std::cout << "---" << std::endl; } return 0; -- cgit