Classes in c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Classes in c++

Hi, I want to declare rational numbers’ class in c++ and use it to add, subtract, multiply rational numbers. Please help me. 🙏🏻

23rd Nov 2017, 10:42 PM
Terthpal Singh
Terthpal Singh  - avatar
1 Answer
0
you can take a look on this got hub project. check the documentation to understand it better. https://gist.github.com/sklaw/10473569
23rd Nov 2017, 11:47 PM
Dmitrii
Dmitrii - avatar