正在加载图片...
Programming in C++ struct AnimalT'ype enum HealthType Poor, Fair, Good, Excellent) struct Animaltype // declares a struct data type M does not allocate memory long id string name 3 string genus 3 string species 3 struct members string country 3 int age float weight: Health Type health AnimalType thisAnimal; //declare variables of AnimalType AnimalType anotherAnimal; 88 struct AnimalType enum HealthType { Poor, Fair, Good, Excellent } ; struct AnimalType // declares a struct data type { // does not allocate memory long id ; string name ; string genus ; string species ; struct members string country ; int age ; float weight ; HealthType health ; } ; AnimalType thisAnimal ; // declare variables of AnimalType AnimalType anotherAnimal ;
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有