Im new to programming sorry if the terms im using are wrong. 

I have to create a console app where the use can add, modify, print and delete food items.

I made a class for my food

```
class food{
private:
bool isBasic;
nmfvg MeatOrOther;
string name;
public:
food::food(){
        isBasic=true;
        MeatOrOther = NONE;
        name = "";
}

food::food(string _name,bool _isBasic, nmfvg _MeatOrOther){
isBasic=_isBasic;
MeatOrOther=_MeatOrOther;
name = _name;
}};

```

and im putting the food the user is making into an array of type food.

```
food foods[100];
food temp("food1",true,VEG); 
foods[0]=temp;

```

1-Is this the right way for me to store foods?
2-If it is how do i go about printing the name of foods[0]?