Need help understanding Structure and instantiate
Hi all,
I went through my book's chapter about structures and it talks instantiate. I'm trying to make sure I understand what this means since it's used in a lot of places but I can find an exact definition of what it consists in.
A structure could be:
Code:
struct employee{
char name [20] // array
int ID
float hours
}
then I instantiate in Main with something like:
Code:
employe employeeschedule;
So can anyone tell me if I understand this concept correctly?
Thanks.