diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-12-14 11:18:40 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-12-14 11:18:40 +0100 |
| commit | b13cd117a7957f9d86ec2986b47349979325a854 (patch) | |
| tree | fcdb302deb45f95bdd8495c5c03ea0e45ce77275 /cpp06/ex02 | |
| parent | 2ee90625e793175c5fcde47564326a7eb8a1b3ee (diff) | |
| download | piscine_cpp-b13cd117a7957f9d86ec2986b47349979325a854.tar.gz piscine_cpp-b13cd117a7957f9d86ec2986b47349979325a854.tar.bz2 piscine_cpp-b13cd117a7957f9d86ec2986b47349979325a854.zip | |
Fixing nanf not recognized in cpp06/00, Fixing serialization size to 52 bytes
Diffstat (limited to 'cpp06/ex02')
| -rw-r--r-- | cpp06/ex02/Makefile | 4 | ||||
| -rw-r--r-- | cpp06/ex02/main.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
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 <charles.cabergs@gmail.com> +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # 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 <charles.cabergs@gmail.com> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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; |
