Can I make this program of mine using classes? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can I make this program of mine using classes?

Here is my code https://code.sololearn.com/cSF7pxefBa4n/?ref=app If you like it upvote it as well.

8th Jul 2018, 10:18 PM
Mukul
Mukul - avatar
1 Answer
0
Just divide your program into methods and attributes, put them in a class in separate file #include it in source.cpp instantiate an object form it then it's done
9th Jul 2018, 2:37 AM
Khalid Muhammed
Khalid Muhammed - avatar