+ 7
explain structure if possible.
4 RĂ©ponses
+ 8
See
Structure is a collection of different datatypes...It can be used for many purposes..sparing that it does not support OOP. Check the lessons in CPP for a better idea.
Classes are exactly the same thing..except that they implement modern OOP features and such stuff like abstraction and polymorphism...which makes them more useful than structures.
+ 8
oh. Thanks. I will do so.
+ 7
Struct is like...an older brother of class..with lesser capabilities
+ 7
hi.
sorry but can you explain more. please