0

What is classes used for?

I find classes hard in c++.... so can anyone tell me their advantages.... and how to use the.... it would help me alot.... thnk u....

19th Dec 2016, 12:03 PM
DEF4LT_
DEF4LT_ - avatar
2 Respostas
+ 2
Classes are associated with object oriented programming. For start I recommend you take a look at the idea of oop. Classes define the type of objects. Objects are specimens of class.
19th Dec 2016, 12:44 PM
MarcinPL
MarcinPL - avatar
+ 2
classes were introduced for u so that we not have to write similar piece of code again and again. there r many other reasons but this one is basic
19th Dec 2016, 1:10 PM
manish rawat
manish rawat - avatar