42/CPP_Module_02
10 months agoFix Fixed multiplication and division trunk
Lukas Jiriste [Tue, 7 Jan 2025 17:33:42 +0000 (18:33 +0100)]
Fix Fixed multiplication and division

I thought I would implement the arithmetic without float to ensure
precise results, but it proved to be quite difficult and probably not
the effort in this exercise.

13 months agoAdd main.cpp and Makefile or ex03
Lukas Jiriste [Thu, 24 Oct 2024 13:14:43 +0000 (15:14 +0200)]
Add main.cpp and Makefile or ex03

13 months agoAdd operator<< for Point class in ex03
Lukas Jiriste [Thu, 24 Oct 2024 13:14:15 +0000 (15:14 +0200)]
Add operator<< for Point class in ex03

13 months agoRemove the constructor/destructor messages in ex03
Lukas Jiriste [Thu, 24 Oct 2024 13:14:03 +0000 (15:14 +0200)]
Remove the constructor/destructor messages in ex03

13 months agoAdd main.cpp and Makefile to ex02
Lukas Jiriste [Thu, 24 Oct 2024 12:48:02 +0000 (14:48 +0200)]
Add main.cpp and Makefile to ex02

13 months agoAdd main.cpp and Makefile to ex01
Lukas Jiriste [Thu, 24 Oct 2024 12:47:48 +0000 (14:47 +0200)]
Add main.cpp and Makefile to ex01

13 months agoAdd main.cpp and Makefile to ex00
Lukas Jiriste [Thu, 24 Oct 2024 12:43:41 +0000 (14:43 +0200)]
Add main.cpp and Makefile to ex00

13 months agoAdd solution to ex03 (without Makefile)
Lukas Jiriste [Thu, 17 Oct 2024 15:35:09 +0000 (17:35 +0200)]
Add solution to ex03 (without Makefile)

13 months agoChange comparison operators to return bool
Lukas Jiriste [Thu, 17 Oct 2024 14:27:00 +0000 (16:27 +0200)]
Change comparison operators to return bool

13 months agoFix multiplication rounding
Lukas Jiriste [Thu, 17 Oct 2024 14:08:03 +0000 (16:08 +0200)]
Fix multiplication rounding

13 months agoAdd solution of ex02 (without Makefile)
Lukas Jiriste [Thu, 17 Oct 2024 11:55:56 +0000 (13:55 +0200)]
Add solution of ex02 (without Makefile)

13 months agoAdd rounding in float constructor
Lukas Jiriste [Thu, 17 Oct 2024 11:54:58 +0000 (13:54 +0200)]
Add rounding in float constructor

13 months agoAdd solution to ex01 (without Makefile)
Lukas Jiriste [Thu, 17 Oct 2024 08:27:19 +0000 (10:27 +0200)]
Add solution to ex01 (without Makefile)

13 months agoImplement solution to ex00 (without Makefile)
Lukas Jiriste [Thu, 17 Oct 2024 07:37:00 +0000 (09:37 +0200)]
Implement solution to ex00 (without Makefile)