+ 6
C++ structure or classes?
heya ...just need your opinion about structure or classes .....what's better? i dont know much about structures but it seems to be interesting.
3 ответов
+ 1
Classes.
+ 1
hello, in my opinion we can't say that which among those two is better coz there not the same things to be compared.
.
for general purpose i can say that structure concept was introduced in C lang were as OOP based C++ have both the features.
.
for the use i would prefer Class over structure for small level programming....but if you want to use them for further complex programming you should use structure in a class.
+ 1
In C language we use Structures. whereas in C++ we call it as Classes