Reload operations
0 Report
Reload operations
Related Recommendations
Other works by the author
Outline/Content
See more
operator+=(const numbers& other)
начало
Начало
Конец
return *this
print() const
chis = chis * other.znam + other.chis * znam
int main()
b += c (вызов operator+=)
return 0
cout << \"a = \"; a.print()
a += b (вызов operator+=)
cout << \"\a += c:\"
cout << \"b = \"; b.print()
a += c (вызов operator+=)
znam = znam * other.znam
cout << \"\b += c:\"
cout << \" a += b:\"
cout << chis << \"/\" << znam
Collect
Collect
Collect
Collect
0 Comments
Next Page