+ 1
Classes and structures
Classes and structures, which of them are more easier and friendlier?
1 Odpowiedź
0
assuming 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++ ^^