1 Answer
New Answerassuming you're talking of C/C++ struct vs C++ classes (OOP), structs are easiest to handle as they are only data embeding, while class could embed also logic (funxtions/methods) related to datas... classes could do more than structs, but structs are easier friendly to deal: structs are avaimable in C AND C++, while classes only in C++ ^^
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message