Description:
Class definition and use of scores fraction:
1 Custom score class fraction, the use of such input can be completed scores, scores of add, subtract, multiply and divide two operations and a project by project operations, scores some points operation, scores of reciprocal operation of the two scores into the
Line six kinds of comparison operators, as well as scores of output and other operations.
(2) the best use of operator overloading function. For example, scores can be overloaded+,-,*,/,>,>=,<,<=,==,!=, to achieve a variety of operations. And to achieve a mixture fraction and integer operations.
To Search:
File list (Check if you may need any files):
second\fraction.cpp
......\fraction.H
......\fractiontest.cpp
second