use google!
A data structure is a group of data.
It allows you to put things together...
imagine a car that can be defined by:
struct car
{
int number_of_doors;
int number_of_seats;
int number_of_mirrors;
int number_of_brake_lights;
int colour;
bool solar_roof;
bool automatic_transmission;
string brand;
string model;
};
Doing hat you've grouped the variables in a "set".
If you would need an array you would be able to access it like:
int j = 0;
for (int i=0,i<max;i++)>
{
if (array_cars[1].solar_roof)
{
j++;
}
}
printf("%i",j);
This is for sure not the most precise and clear explanation about structures in the world, but at least it is easy to understand.
you can define a type and then use that type as int,bool... so you could declare a new variable named whatever_you_d_like_to to represent a structure of your newly defined type.
Good luck.