Description: Is a rational number can be reduced to a fraction, such as 2/3, 533/920,-12/49 are rational numbers, and for an irrational number. In C++, there is no pre-defined rational number. Necessary to define a rational number class, will be the numerator and denominator of rational numbers are stored in two integer variables. Various operations on the rational use of overloaded operators can be achieved.
To Search:
File list (Check if you may need any files):
有理数运算\Debug\ROTUNM.obj
..........\.....\vc60.idb
..........\.....\vc60.pdb
..........\.....\主函数测试数据.obj
..........\.....\有理数运算.exe
..........\.....\有理数运算.ilk
..........\.....\有理数运算.pch
..........\.....\有理数运算.pdb
..........\ROTUNM.cpp
..........\ROTUNM.H
..........\主函数测试数据.cpp
..........\有理数运算.dsp
..........\有理数运算.dsw
..........\有理数运算.ncb
..........\有理数运算.opt
..........\有理数运算.plg
..........\Debug
有理数运算