#include <iostream>

using namespace std;

struct Cow{
    int legs;
    double weight;
    char * name;
};

int main(){

    Cow herd[8];

    cout << herd[0].legs << endl;

    cout << "my cow is this big: " << sizeof(Cow) << endl;

    herd[0].name = new char[10];
    strcpy(herd[0].name,"Bossie");

    cout << "my cow's name is: " << herd[0].name << endl;

    return 0;
}

