https://github.com/solareenlo/42old-cpp_module_02
Old-CPP Module 02
https://github.com/solareenlo/42old-cpp_module_02
42 42born2code 42cursus cpp98 reloaded
Last synced: 4 months ago
JSON representation
Old-CPP Module 02
- Host: GitHub
- URL: https://github.com/solareenlo/42old-cpp_module_02
- Owner: solareenlo
- Created: 2021-11-12T00:10:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-12T06:01:24.000Z (over 3 years ago)
- Last Synced: 2024-12-30T09:16:10.671Z (5 months ago)
- Topics: 42, 42born2code, 42cursus, cpp98, reloaded
- Language: C++
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 42Old-CPP_Module_02
## ex03
- [点と三角形の当たり判定( 内外判定 )](http://www.sousakuba.com/Programming/gs_hittest_point_triangle.html)
- [How to determine if a point is in a 2D triangle? [closed]](https://stackoverflow.com/questions/2049582/how-to-determine-if-a-point-is-in-a-2d-triangle)
- [const_cast conversion](https://en.cppreference.com/w/cpp/language/const_cast)## ex02
- [Arithmetic operators](https://en.cppreference.com/w/cpp/language/operator_arithmetic)
- [Operator overload](https://en.cppreference.com/w/cpp/language/operators)
- `>`, `<`, `>=`, `<=`, `==` and `!=`.
- `+`, `-`, `*`, and `/`.
- `pre-increment`, `post-increment`, `pre-decrement` and `post-decrement`.
- `min`, `max`## ex01
- Fixed Point Number
- [Introduction to Fixed Point Number Representation](https://inst.eecs.berkeley.edu//~cs61c/sp06/handout/fixedpt.html)
- [Operator overload](https://en.cppreference.com/w/cpp/language/operators)
- `<<`
- Fixed point## ex00
- copy constructor: 初期化されていないオブジェクトを存在するオブジェクトの情報を使って初期化する.
- Assignment operator: 初期化されているオブジェクトの情報に別のオブジェクトの情報を上書きする.## Understanding Floating Point Numbers
by Jeff Bezanson
- Every programmer should understand enough about floating point numbers to avoid the pitfalls of assuming perfect precision.
- [Background: Accuracy vs. Precision](https://www.cprogramming.com/tutorial/floating_point/understanding_floating_point.html)
- [Floating Point Representation](https://www.cprogramming.com/tutorial/floating_point/understanding_floating_point_representation.html)
- [Bonus: Printing Floating Point Numbers Cleanly](https://www.cprogramming.com/tutorial/floating_point/understanding_floating_point_printing.html)