0

Should i use structure or classes in big and complex programs.

I am a bit confused about which one to use so please tell me

19th Mar 2018, 11:42 AM
Shubh Agrawal
Shubh Agrawal - avatar
2 Answers
+ 5
Classes Generally used for large amounts of data. To get more information check that: http://www.differencebetween.info/difference-between-class-and-structure-in-cplusplus
19th Mar 2018, 11:52 AM
Baraa AB
Baraa AB - avatar
+ 1
Both of them should be used with any program size to represent data if it's less complicated than using the integrated types with in-place control code.
19th Mar 2018, 2:31 PM
Timon Paßlick