CPP02 1.0
読み取り中…
検索中…
一致する文字列を見つけられません
main.cpp
[詳解]
1/* ************************************************************************** */
2/* */
3/* ::: :::::::: */
4/* main.cpp :+: :+: :+: */
5/* +:+ +:+ +:+ */
6/* By: kamitsui <kamitsui@student.42tokyo.jp> +#+ +:+ +#+ */
7/* +#+#+#+#+#+ +#+ */
8/* Created: 2025/04/26 16:33:16 by kamitsui #+# #+# */
9/* Updated: 2025/05/06 14:23:51 by kamitsui ### ########.fr */
10/* */
11/* ************************************************************************** */
12
21#include "Fixed.hpp"
22#include <iostream>
23
25int main(void) {
26 Fixed a;
27 Fixed b(a);
28 Fixed c;
29 c = b;
30
34
35 return 0;
36}
basic_ostream< _CharT, _Traits > & endl(basic_ostream< _CharT, _Traits > &__os)
ostream cout
ex00 Fixed Class
Definition Fixed.hpp:28
int getRawBits(void) const
Gets the raw value of the fixed-point number.
Definition Fixed.cpp:73
int main(void)
Definition main.cpp:25
Header file for the Fixed class representing fixed-point numbers with overloaded operators and min/ma...