计算机科学导论课件:datastructures.ppt

DataStructures

ObjectivesUnderstandarraysandtheirusefulness.Understandrecordsandthedifferencebetweenanarrayandarecord.Understandtheconceptofalinkedlistandthedifferencebetweenanarrayandalinkedlist.Understandwhentouseanarrayandwhentousealinked-list.

Arrays-definitionAnarrayisafixed-sized,sequencedcollectionofelementsofthesamedatatype.

Arrays–memorylayout

Records-definitionArecordisacollectionofrelatedelements,possiblyofdifferenttypes,havingasinglename.Eachelementinarecordiscalledafield.Afieldisthesmallest

文档评论(0)

1亿VIP精品文档

相关文档