Structs Tutorial | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Structs Tutorial

Structs are not explained in the C++ Tutorial. Why? They seem rather important, in C atleast?

4th Aug 2017, 1:11 PM
samö
2 Answers
+ 1
C++ is totally based on OOPs concept. Struct is purely procedural one and thats why used much more in C rather than C++. In C++ we thus have more use of classes instead of structures.. right? Right! Thats why they have focussed on classes an objects rather than structures :)
4th Aug 2017, 1:36 PM
Vanshika Sharma
Vanshika Sharma - avatar
+ 1
Thank you Very much 😊
5th Aug 2017, 8:41 AM
samö