下载此文档

高级语言程序设计 ppt课件.ppt


文档分类:IT计算机 | 页数:约49页 举报非法文档有奖
1/49
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/49 下载此文档
文档列表 文档介绍
AFirstBookofANSIC FourthEditionChapter8Arrays1AFirstBookofANSIC,FourthEditionObjectivesOne-putingAveragesandStandardDeviationsTwo-pilerErrors2AFirstBookofANSIC,FourthEditionIntroductionAtomicvariable:variablewhosevaluecannotbefurthersubdividedintoabuilt-indatatypeAlsocalledascalarvariableDatastructure(aggregatedatatype):posedintoindividualdataelements,essschemeforlocatingindividualdataelementswithinthedatastructure3AFirstBookofANSIC,FourthEditionIntroduction(continued)Oneofthesimplestdatastructures,calledanarray,isusedtostoreandprocessasetofvalues,allofthesamedatatype,thatformsalogicalgroup4AFirstBookofANSIC,FourthEditionIntroduction(continued)5AFirstBookofANSIC,FourthEditionOne-DimensionalArraysAone-dimensionalarray,alsocalledasingle-dimensionalarrayandasingle-subscriptarray,isalistofvaluesofthesamedatatypethatisstoredusingasinglegroupname6AFirstBookofANSIC,FourthEditionOne-DimensionalArrays(continued)7AFirstBookofANSIC,FourthEditionOne-DimensionalArrays(continued)Tocreateaone-dimensionalarray:#defineNUMELS5intgrades[NUMELS];InC,essedbygivingthenameofthearrayandtheelement’spositionThepositionistheelement’sindexorsubscriptEachelementiscalledanindexedvariableorasubscriptedvariable8AFirstBookofANSIC,FourthEditionOne-DimensionalArrays(continued)9AFirstBookofANSIC,FourthEditionOne-DimensionalArrays(continued)10AFirstBookofANSIC,FourthEdition

高级语言程序设计 ppt课件 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数49
  • 收藏数0 收藏
  • 顶次数0
  • 上传人rdwiirh
  • 文件大小1.22 MB
  • 时间2020-10-01