没有合适的资源?快使用搜索试试~ 我知道了~
首页Robert L Kruse Alexander J Ryba Data Structures And Program Design In C++.pdf )
Robert L Kruse Alexander J Ryba Data Structures And Program Desi...
5星 · 超过95%的资源 需积分: 9 17 下载量 117 浏览量
更新于2023-03-16
评论
收藏 8.63MB PDF 举报
Robert L Kruse Alexander J Ryba Data Structures And Program Design In C++.pdf
资源详情
资源评论
资源推荐
DataStructures
and
ProgramDesign
inC
++
NAVIGATINGTHEDISK
ForinformationonusingtheAcrobattoolbarandotherAcrobatcommands,consult
theHelpdocumentwithinAcrobat.Seeespeciallythesection“NavigatingPages.”
Materialdisplayedingreenenablesjumpstootherlocationsinthebook,to
transparencymasters,andtorunsampledemonstrationprograms.Thesecomein
threevarieties:
¯
Thegreenmenuboxesintheleftmarginofeachpageperformjumpstofre-
quentlyusedpartsofthebook:
¯
Greenmaterialinthetextitselfwilljumptotheplaceindicated.Aftertaking
suchajump,youmayreturnbyselectingthe
icon(goback)intheAcrobat
toolbar.
¯
Thetransparency-projectoricon()bringsupatransparencymasteronthe
currenttopic.Returnbyselectingthe
icon(goback)intheAcrobattoolbar.
¯
TheWindows()iconintheleftmarginselectandrunademonstrationpro-
gram,whichwilloperateonlyontheWindowsplatform.
ThisCDcontainsafolder
textprog
thatcontainsthesourcecodeforallprograms
andprogramsegmentsappearinginthebook.These�lescannotbecompiled
directly,buttheycanbecopiedandusedforwritingotherprograms.
HINTSFORP AGENAVIGATION
¯
Eachchapter(orothermajorsection)ofthebookisinaseparate
pdf
�le,so
youmaystartAcrobatdirectlyonadesiredchapter.
¯
To�ndaparticularsectioninthecurrentchapter,hittheHomekey,orselect
|
intheAcrobattoolbarorinthegreenmenubar,whichwilljumptothe
�rstpageofthechapterwherethereisatableofcontentsforthechapter.
¯
Afterjumpingtoanewlocationinthebook,youcaneasilyreturntoyour
previouslocationbyselecting
(goback)intheAcrobattoolbar.
¯
To�ndaparticulartopic,selecttheindexicon()intheleftmargin.
¯
To�ndaparticularwordinthecurrentchapter,usethebinocularsiconinthe
Acrobattoolbar.
¯
ThePgDownandEnter(orReturn)keysadvanceone
screenful
,whereas
,
↓
,
→
,andadvanceone
page
.Ofthese,onlywillmovefromthelastpageof
onechaptertothe�rstpageofthenextchapter.
¯
Tomovebackwards,PgUpandShift+Entermoveupone
screenful
,whereas
,
↑
,
←
,andmovebackone
page
.Ofthese,onlywillmovefromthe�rst
pageofonechaptertothelastpageofthepreviouschapter.
DataStructures
and
ProgramDesign
inC
++
RobertL.Kruse
AlexanderJ.Ryba
CD-ROMpreparedby
PaulA.Mailhot
PrenticeHall
UpperSaddleRiver,NewJersey07458
LibraryofCongressCataloging–in–PublicationData
K
RUSE
,R
OBERT
L.
DatastructuresandprogramdesigninC++/RobertL.Kruse,
AlexanderJ.Ryba.
p.cm.
Includesbibliographicalreferencesandindex.
ISBN0–13–087697–6
1.C++(Computerprogramlanguage)2.DataStructures
(ComputerScience)I.Ryba,AlexanderJ.II.Title.
QA76.73.C153K79199898–35979
005.13’3—dc21CIP
Publisher:
AlanApt
EditorinChief:
MarciaHorton
AcquisitionsEditor:
LauraSteele
ProductionEditor:
RoseKernan
ManagingEditor:
EileenClark
ArtDirector:
HeatherScott
AssistanttoArtDirector:
JohnChristiana
CopyEditor:
PatriciaDaly
CoverDesigner:
HeatherScott
ManufacturingBuyer:
PatBrown
AssistantVicePresidentofProductionand
Manufacturing:
DavidW.Riccardi
EditorialAssistant:
KateKaibni
InteriorDesign:
RobertL.Kruse
PageLayout:
GinnieMasterson(PreT
E
X,Inc.)
ArtProduction:
BlakeMacLean(PreT
E
X,Inc.)
Coverart:
Orange
,1923,byWassilyKandinsky(1866-1944),LithographinColors.Source:Christie’sImages
©2000byPrentice-Hall,Inc.
Simon&Schuster/AViacomCompany
UpperSaddleRiver,NewJersey07458
ThetypesettingforthisbookwasdonewithPreT
E
X,apreprocessorandmacropackagefortheT
E
Xtypesettingsystem
andtheP
OST
S
CRIPT
page-descriptionlanguage.PreT
E
XisatrademarkofPreT
E
X,Inc.;T
E
XisatrademarkoftheAmerican
MathematicalSociety;P
OST
S
CRIPT
isaregisteredtrademarksofAdobeSystems,Inc.
Theauthorsandpublisherofthisbookhaveusedtheirbesteffortsinpreparingthisbook.Theseeffortsincludethere-
search,development,andtestingofthetheoryandprogramsinthebooktodeterminetheireffectiveness.Theauthors
andpublishermakenowarrantyofanykind,expressedorimplied,withregardtotheseprogramsorthedocumenta-
tioncontainedinthisbook.Theauthorsandpublishershallnotbeliableinanyeventforincidentalorconsequential
damagesinconnectionwith,orarisingoutof,thefurnishing,performance,oruseoftheseprograms.
Allrightsreserved.Nopartofthisbookmaybereproduced,inanyformorbyanymeans,withoutpermissioninwrit-
ingfromthepublisher.
PrintedintheUnitedStatesofAmerica
10987654321
ISBN0-13-087697-6
Prentice-HallInternational(U.K.)Limited,
London
Prentice-HallofAustraliaPty.Limited,
Sydney
Prentice-HallCanadaInc.,
Toronto
Prentice-HallHispanoamericana,S.A.,
Mexico
Prentice-HallofIndiaPrivateLimited,
NewDelhi
Prentice-HallofJapan,Inc.,
Tokyo
Simon&SchusterAsiaPte.Ltd.,
Singapore
EditoraPrentice-HalldoBrasil,Ltda.,
RiodeJaneiro
Contents
Prefaceix
Synopsisxii
CourseStructurexiv
SupplementaryMaterialsxv
BookProductionxvi
Acknowledgmentsxvi
1
Programming
Principles1
1.1Introduction2
1.2TheGameofLife4
1.2.1RulesfortheGameofLife4
1.2.2Examples5
1.2.3TheSolution:Classes,Objects,
andMethods7
1.2.4Life:TheMainProgram8
1.3ProgrammingStyle10
1.3.1Names10
1.3.2DocumentationandFormat13
1.3.3Re�nementandModularity15
1.4Coding,Testing,
andFurtherRe�nement20
1.4.1S tubs20
1.4.2De�nitionoftheClassLife22
1.4.3CountingNeighbors23
1.4.4UpdatingtheGrid24
1.4.5InputandOutput25
1.4.6Drivers27
1.4.7ProgramTracing28
1.4.8PrinciplesofProgramTesting29
1.5ProgramMaintenance34
1.5.1ProgramEvaluation34
1.5.2ReviewoftheLifeProgram35
1.5.3ProgramRevision
andRedevelopment38
1.6ConclusionsandPreview39
1.6.1S oftwareEngineering39
1.6.2ProblemAnalysis40
1.6.3RequirementsSpeci�cation41
1.6.4Coding41
PointersandPitfalls45
ReviewQuestions46
ReferencesforFurtherStudy47
C++47
ProgrammingPrinciples47
TheGameofLife47
SoftwareEngineering48
2
Introduction
toStacks49
2.1StackSpeci�cations50
2.1.1ListsandArrays50
2.1.2S tacks50
2.1.3FirstExample:ReversingaList51
2.1.4InformationHiding54
2.1.5TheStandardTemplateLibrary55
v
剩余733页未读,继续阅读
gaoxueqin818
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- stc12c5a60s2 例程
- Android通过全局变量传递数据
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论3