搜索资源列表
fraction
- 这是个基础的程序,请大家指点指点!我的Q:137851600,邮箱lbz_898236@126.com-This is the basis for the procedure, please pointing out the instructions! My Q : 137851600, mail lbz_898236@126.com
fraction
- 实现了分数之间的四则运算,主要在于练习运算符重载。同时从分数类派生出整数类,实现了分数整数的混合运算!-Realize the scores between the four operations, the main operator is overloaded practice. At the same time, scores of categories derived from the integer type, the real
fraction
- 实现了C++的分数类,实现的分数与整数,分数与int,整数与int的混合操作,用多态和虚函数来实现digit_number()-Realize the C++ The Score category, the scores and realize integer, scores and int, and int mixed integer operations, using virtual functions and polymorphi
fraction
- 实现分数类的加减乘除运算,使用了运算符重载功能,有异常处理-Achieve scores of class Math
Fraction
- Fraction, + - * / operand Fraction(String ...)-Fraction, +-*/operand Fraction(String ...)
fraction
- 1.自定义分数类fraction,使用该类可以完成分数的输入、分数的加、减、乘、除二目运算和一目减运算、分数的约分操作、分数的通分操作、分数的倒数运算、对两个分数进行六种比较运算、以及对分数的输出等操作。 2.改造上述分数类,将其中使用的普通函数尽量改写成运算符重载函数。如,可重载+、-、*、/、>、>=、<、<=、==、!=,以实现分数的各种运算。并且实现分数与整数的混合运算。 3.从分数类派生出一个用
fraction
- implementation of fraction using C-implementation of fraction using C++
fraction
- 分数类的定义和实现。例如分数的加减乘除运算和小数化为分数的实现-Score class definition and implementation. For example, addition and subtraction fraction into a decimal fraction multiplication and division operations and the realization of
fraction
- fraction using visual C-fraction using visual C++
fraction
- /* 描述: 1.自定义分数类fraction,使用该类可以完成分数的输入、分数的加、减、乘、除二目运算和一目减运算、分数的约分操作、分数的倒数运算、对两个分数进行六种比较运算、以及对分数的输出等操作。 2.尽量用运算符重载函数。如,可重载+、-、*、/、>、>=、<、<=、==、!=,以实现分数的各种运算。并且实现分数与整数的混合运算。 3.尽可能考虑程序性能。-/* Descr ipti
fraction
- This program will add and reduce fraction which are inputed by the user.
fraction-class
- 分数四则运算的类,既重载了 + - * /-fraction+-* /
Fraction
- Develop a Fraction class that is capable of doing arithmetic with fractions. * Fractions are held in lowest terms, with the gcd() method. * Use a toString() method to format the result.-Develop a Fraction class t
fraction
- 分数的类定义,构成及实现加减乘除运算的头文件-Fraction of the class definition, composition and operation to achieve header Math
Fraction
- A C# solution. Program for fraction calculations.
Fraction
- 一个分数类,可以进行分数、整数之间的算术运算,比如:(1+(1/3)*2=10/3-A fraction class, designed for arithmetic calculation between fractions and integers.
Fraction
- 自定义fraction类,就是我们学c++时经常碰到的小作业-Customize fraction class, we learn c++ is often encountered when a small operation
fraction
- 分数类头文件,包括分数的四则运算等,主要是运算符重载的练习-a fraction class headfile
Rational-fraction-equation
- 用来求解有理数分式方程。为它设计两个数据成员,一个作为分子,另一个作为分母。分母不能为0。有理数1/2可以使用这个类的对象r表示为r(1,2)。需要完成如下操作: 如果分子和分母友公约数,就应该进行化简; 有理数可以进行四则运算,需要重载运算符; 重载流运算符,可以直接输入分子和分母,以及作为整体输出 -Used for solving the rational fraction equation. For its de
fraction
- c++定义一个分数类,实现加减乘除运算,计算结果化为最简分数。 -c++ defining a fraction class that implements addition and subtraction multiplication and division, results into a reduced fraction.