C++ Structures
In object oriented, as well as in procedural programming, data structures play an important role. These are used to hold large data blocks in an ordered way. C++ structures seem more less like classes. The only difference is that these cannot hold any method definitions or perform any function with the information they hold.
Example of a simple structure
struct triangle
{
double base;
double height;
}