An open API service indexing awesome lists of open source software.

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

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)