• C大学教程
图书条目标准图
21年品牌 40万+商家 超1.5亿件商品

C大学教程

37.2 3.9折 95 全新

仅1件

河北保定
认证卖家担保交易快速发货售后保障

作者[美]戴特尔 著

出版社电子工业出版社

出版时间2010-05

版次1

装帧平装

货号9787121106200

上书时间2024-11-17

尚贤文化保定分店的书店

已实名 已认证 进店 收藏店铺

   商品详情   

品相描述:全新
图书标准信息
  • 作者 [美]戴特尔 著
  • 出版社 电子工业出版社
  • 出版时间 2010-05
  • 版次 1
  • ISBN 9787121106200
  • 定价 95.00元
  • 装帧 平装
  • 开本 16开
  • 纸张 胶版纸
  • 页数 849页
  • 正文语种 英语
【内容简介】
  《C大学教程(第5版)(英文版)》是全球畅销的C语言教程之一。全书系统介绍了4种流行的程序设计方法——面向过程、基于对象、面向对象以及泛型编程,内容全面、生动、易懂,由浅入深地介绍了结构化编程和软件工程的基本概念,从简单的概念到最终完整的语言描述,清晰、准确、透彻、详细地讲解c语言,尤其注重程序设计思想和方法的介绍。在内容方面,《C大学教程(第5版)(英文版)》新增加了介绍C99标准、排序、基于AllegroC函数库的游戏编程以及有关C++面向对象程序设计的章节,并且在附录中增加了Sudoku游戏程序设计的讲解。“活代码”方法是《C大学教程(第5版)(英文版)》的另一特色,它可以促进学生积极地参与到程序设计中来。书中列出的各种程序设计提示,是作者多年教学经验的总结。
  《C大学教程(第5版)(英文版)》不仅适合于初学者学习,作为高校计算机程序设计教学的教科书,也同样适用于有经验的程序员,作为软件开发人员的专业参考书。
【目录】
Chapter1IntroductiontoComputers,theInternetandtheWeb1
1.1Introduction2
1.2WhatIsaComputer?3
1.3ComputerOrganization3
1.4EarlyOperatingSystems4
1.5Personal,DistributedandClient/ServerComputing4
1.6MachineLanguages,AssemblyLanguagesandHigh-LevelLanguages5
1.7Fortran,COBOL,PascalandAda6
1.8HistoryofC6
1.9CStandardLibrary7
1.10C++8
1.11Java8
1.12BASIC,VisualBasic,VisualC++,VisualC#and.NET9
1.13KeySoftwareTrend:ObjectTechnology9
1.14TypicalCProgramDevelopmentEnvironment10
1.15HardwareTrends12
1.16HistoryoftheInternet12
1.17HistoryoftheWorldWideWeb13
1.18NotesAboutCandThisBook13
1.19WebResources14

Chapter2IntroductiontoCProgramming25
2.1Introduction25
2.2ASimpleCProgram:PrintingaLineofText26
2.3AnotherSimpleCProgram:AddingTwoIntegers29
2.4MemoryConcepts32
2.5ArithmeticinC33
2.6DecisionMaking:EqualityandRelationalOperators35

Chapter3StructuredProgramDevelopmentinC48
3.1Introduction48
3.2Algorithms49
3.3Pseudocode49
3.4ControlStructures50
3.5TheifSelectionStatement51
3.6Theif...elseSelectionStatement52
3.7ThewhileRepetitionStatement55
3.8FormulatingAlgorithmsCaseStudy1:Counter-ControlledRepetition56
3.9FormulatingAlgorithmswithTop-Down,StepwiseRefinementCaseStudy2:Sentinel-ControlledRepetition57
3.10FormulatingAlgorithmswithTop-Down,StepwiseRefinementCaseStudy3:NestedControlStructures62
3.11AssignmentOperators65
3.12IncrementandDecrementOperators65

Chapter4CProgramControl82
4.1Introduction83
4.2RepetitionEssentials83
4.3Counter-ControlledRepetition83
4.4forRepetitionStatement85
4.5forStatement:NotesandObservations86
4.6ExamplesUsingtheforStatement87
4.7switchMultiple-SelectionStatement90
4.8do...whileRepetitionStatement94
4.9breakandcontinueStatements95
4.10LogicalOperators97
4.11ConfusingEquality(==)andAssignment(=)Operators99
4.12StructuredProgrammingSummary100

Chapter5CFunctions115
5.1Introduction116
5.2ProgramModulesinC116
5.3MathLibraryFunctions117
5.4Functions118
5.5FunctionDefinitions118
5.6FunctionPrototypes121
5.7FunctionCallStackandActivationRecords123
5.8Headers123
5.9CallingFunctions:Call-by-ValueandCall-by-Reference124
5.10RandomNumberGeneration124
5.11Example:AGameofChance128
5.12StorageClasses131
5.13ScopeRules132
5.14Recursion135
5.15ExampleUsingRecursion:FibonacciSeries137
5.16Recursionvs.Iteration140

Chapter6CArrays156
6.1Introduction156
6.2Arrays157
6.3DefiningArrays158
6.4ArrayExamples158
6.5PassingArraystoFunctions168
6.6SortingArrays171
6.7CaseStudy:ComputingMean,MedianandModeUsingArrays173
6.8SearchingArrays176
6.9Multiple-SubscriptedArrays180

Chapter7CPointers200
7.1Introduction200
7.2PointerVariableDefinitionsandInitialization201
7.3PointerOperators201
7.4PassingArgumentstoFunctionsbyReference203
7.5UsingtheconstQualifierwithPointers206
7.6BubbleSortUsingCall-by-Reference210
7.7sizeofOperator213
7.8PointerExpressionsandPointerArithmetic214
7.9RelationshipbetweenPointersandArrays216
7.10ArraysofPointers219
7.11CaseStudy:CardShuffiingandDealingSimulation220
7.12PointerstoFunctions224

Chapter8CCharactersandStrings243
8.1Introduction244
8.2FundamentalsofStringsandCharacters244
8.3Character-HandlingLibrary245
8.4String-ConversionFunctions249
8.5StandardInput/OutputLibraryFunctions252
8.6String-ManipulationFunctionsoftheString-HandlingLibrary255
8.7ComparisonFunctionsoftheString-HandlingLibrary257
8.8SearchFunctionsoftheString-HandlingLibrary258
8.9MemoryFunctionsoftheString-HandlingLibrary262
8.10OtherFunctionsoftheString-HandlingLibrary265

Chapter9CFormattedInput/Output277
9.1Introduction277
9.2Streams278
9.3FormattingOutputwithprintf278
9.4PrintingIntegers278
9.5PrintingFloating-PointNumbers279
9.6PrintingStringsandCharacters281
9.7OtherConversionSpecifiers281
9.8PrintingwithFieldWidthsandPrecision282
9.9UsingFlagsintheprintfFormatControlString284
9.10PrintingLiteralsandEscapeSequences286
9.11ReadingFormattedInputwithscanf287

Chapter10CStructures,Unions,BitManipulationsandEnumerations298
10.1Introduction298
10.2StructureDefinitions299
10.3InitializingStructures301
10.4AccessingMembersofStructures301
10.5UsingStructureswithFunctions302
10.6typedef302
10.7Example:High-PerformanceCardShufflingandDealingSimulation303
10.8Unions305
10.9BitwiseOperators307
10.10BitFields313
10.11EnumerationConstants315

Chapter11CFileProcessing325
11.1Introduction325
11.2DataHierarchy326
11.3FilesandStreams327
11.4CreatingaSequential-AccessFile327
11.5ReadingDatafromaSequential-AccessFile331
11.6Random-AccessFiles335
11.7CreatingaRandom-AccessFile335
11.8WritingDataRandomlytoaRandom-AccessFile337
11.9ReadingDatafromaRandom-AccessFile339
11.10CaseStudy:Transaction-ProcessingProgram340

Chapter12CDataStructures353
12.1Introduction353
12.2Self-ReferentialStructures354
12.3DynamicMemoryAllocation355
12.4LinkedLists355
12.5Stacks362
12.6Queues366
12.7Trees370

Chapter13CPreprocessor394
13.1Introduction394
13.2#includePreprocessorDirective395
13.3#definePreprocessorDirective:SymbolicConstants395
13.4#definePreprocessorDirective:Macros395
13.5ConditionalCompilation397
13.6#errorand#pragmaPreprocessorDirectives398
13.7#and##Operators398
13.8LineNumbers398
13.9PredefinedSymbolicConstants399
13.10Assertions399

Chapter14OtherCTopics403
14.1Introduction403
14.2RedirectingInput/OutputonLinux/UNIXandWindowsSystems404
14.3Variable-LengthArgumentLists404
14.4UsingCommand-LineArguments406
14.5NotesonCompilingMultiple-Source-FilePrograms407
14.6ProgramTerminationwithexitandatexit408
14.7volatileTypeQualifier409
14.8SuffixesforIntegerandFloating-PointConstants409
14.9MoreonFiles410
14.10SignalHandling411
14.11DynamicMemoryAllocation:Functionscallocandrealloc413
14.12UnconditionalBranchingwithgoto413

Chapter15GameProgrammingwiththeAllegroCLibrary419
15.1Introduction420
15.2InstallingAllegro420
15.3ASimpleAllegroProgram420
15.4SimpleGraphics:ImportingBitmapsandBlitting421
15.5AnimationwithDoubleBuffering424
15.6ImportingandPlayingSounds429
15.7KeyboardInput432
15.8FontsandDisplayingText436
15.9ImplementingtheGameofPong439
15.10TimersinAllegro444
15.11TheGrabberandAllegroDatafiles447
15.12OtherAllegroCapabilities453
15.13AllegroInternetandWebResources454

Chapter16Sorting:ADeeperLook460
16.1Introduction460
16.2BigONotation461
16.3SelectionSort461
16.4InsertionSort464
16.5MergeSort466

Chapter17IntroductiontoC99474
17.1Introduction475
17.2SupportforC99475
17.3NewC99Headers476
17.4//Comments476
17.5MixingDeclarationsandExecutableCode476
17.6DeclaringaVariableinaforStatementHeader477
17.7DesignatedInitializersandCompoundLiterals478
17.8Typebool480
17.9ImplicitintinFunctionDeclarations481
17.10ComplexNumbers482
17.11Variable-LengthArrays483
17.12OtherC99Features484
17.13InternetandWebResources486

Chapter18C++asaBetterC;IntroducingObjectTechnology490
18.1Introduction491
18.2C++491
18.3ASimpleProgram:AddingTwoIntegers491
18.4C++StandardLibrary493
18.5HeaderFiles494
18.6InlineFunctions495
18.7ReferencesandReferenceParameters496
18.8EmptyParameterLists500
18.9DefaultArguments500
18.10UnaryScopeResolutionOperator501
18.11FunctionOverloading502
18.12FunctionTemplates505
18.13IntroductiontoObjectTechnologyandtheUML507
18.14Wrap-Up510

Chapter19IntroductiontoClassesandObjects516
19.1Introduction517
19.2Classes,Objects,MemberFunctionsandDataMembers517
19.3OverviewoftheChapterExamples518
19.4DefiningaClasswithaMemberFunction518
19.5DefiningaMemberFunctionwithaParameter521
19.6DataMembers,setFunctionsandgetFunctions523
19.7InitializingObjectswithConstructors528
19.8PlacingaClassinaSeparateFileforReusability531
19.9SeparatingInterfacefromImplementation534
19.10ValidatingDatawithsetFunctions538
19.11Wrap-Up542

Chapter20Classes:ADeeperLook,Part1548
20.1Introduction549
20.2TimeClassCaseStudy549
20.3ClassScopeandAccessingClassMembers554
20.4SeparatingInterfacefromImplementation555
20.5AccessFunctionsandUtilityFunctions556
20.6TimeClassCaseStudy:ConstructorswithDefaultArguments558
20.7Destructors562
20.8WhenConstructorsandDestructorsAreCalled562
20.9TimeClassCaseStudy:ASubtleTrap—ReturningaReferencetoaprivateDataMember565
20.10DefaultMemberwiseAssignment567
20.11SoftwareReusability568
20.12Wrap-Up569

Chapter21Classes:ADeeperLook,Part2574
21.1Introduction575
21.2const(Constant)ObjectsandconstMemberFunctions575
21.3Composition:ObjectsasMembersofClasses582
21.4friendFunctionsandfriendClasses587
21.5UsingthethisPointer589
21.6DynamicMemoryManagementwithOperatorsnewanddelete593
21.7staticClassMembers594
21.8DataAbstractionandInformationHiding599
21.8.1Example:ArrayAbstractDataType600
21.8.2Example:StringAbstractDataType600
21.8.3Example:QueueAbstractDataType600
21.9ContainerClassesandIterators601
21.10ProxyClasses601
21.11Wrap-Up603

Chapter22OperatorOverloading609
22.1Introduction610
22.2FundamentalsofOperatorOverloading610
22.3RestrictionsonOperatorOverloading611
22.4OperatorFunctionsasClassMembersvs.GlobalFunctions612
22.5OverloadingStreamInsertionandStreamExtractionOperators613
22.6OverloadingUnaryOperators616
22.7OverloadingBinaryOperators616
22.8CaseStudy:ArrayClass617
22.9ConvertingbetweenTypes625
22.10Overloading++and行626
22.11explicitConstructors627
22.12Wrap-Up630

Chapter23Object-OrientedProgramming:Inheritance639
23.1Introduction640
23.2BaseClassesandDerivedClasses641
23.3protectedMembers642
23.4RelationshipbetweenBaseClassesandDerivedClasses643
23.4.1CreatingandUsingaCommissionEmployeeClass643
23.4.2CreatingaBasePlusCommissionEmployeeClassWithoutUsingInheritance647
23.4.3CreatingaCommissionEmployeeasePlusCommissionEmployeeInheritanceHierarchy651
23.4.4CommissionEmployeeasePlusCommissionEmployeeInheritanceHierarchyUsingprotectedData654
23.4.5CommissionEmployeeasePlusCommissionEmployeeInheritanceHierarchyUsingprivateData659
23.5ConstructorsandDestructorsinDerivedClasses665
23.6public,protectedandprivateInheritance670
23.7SoftwareEngineeringwithInheritance671
23.8Wrap-Up672

Chapter24Object-OrientedProgramming:Polymorphism677
24.1Introduction678
24.2PolymorphismExamples679
24.3RelationshipsAmongObjectsinanInheritanceHierarchy680
24.3.1InvokingBase-ClassFunctionsfromDerived-ClassObjects680
24.3.2AimingDerived-ClassPointersatBase-ClassObjects685
24.3.3Derived-ClassMember-FunctionCallsviaBase-ClassPointers686
24.3.4VirtualFunctions688
24.3.5SummaryoftheAllowedAssignmentsBetweenBase-ClassandDerived-ClassObjectsandPointers692
24.4TypeFieldsandswitchStatements692
24.5AbstractClassesandPurevirtualFunctions693
24.6CaseStudy:PayrollSystemUsingPolymorphism695
24.6.1CreatingAbstractBaseClassEmployee695
24.6.2CreatingConcreteDerivedClassSalariedEmployee698
24.6.3CreatingConcreteDerivedClassHourlyEmployee699
24.6.4CreatingConcreteDerivedClassCommissionEmployee701
24.6.5CreatingIndirectConcreteDerivedClassBasePlusCommissionEmployee702
24.6.6DemonstratingPolymorphicProcessing704
24.7(Optional)Polymorphism,VirtualFunctionsandDynamicBinding襏ndertheHood?707
24.8CaseStudy:PayrollSystemUsingPolymorphismandRuntimeTypeInformationwithDowncasting,dynamic_cast,typeidandtype_info710
24.9VirtualDestructors712
24.10Wrap-Up713

Chapter25Templates718
25.1Introduction718
25.2FunctionTemplates719
25.3OverloadingFunctionTemplates721
25.4ClassTemplates722
25.5NontypeParametersandDefaultTypesforClassTemplates726
25.6NotesonTemplatesandInheritance727
25.7NotesonTemplatesandFriends728
25.8NotesonTemplatesandstaticMembers728
25.9Wrap-Up729

Chapter26StreamInput/Output733
26.1Introduction734
26.2Streams734
26.2.1ClassicStreamsvs.StandardStreams735
26.2.2iostreamLibraryHeaderFiles735
26.2.3StreamInput/OutputClassesandObjects735
26.3StreamOutput737
26.3.1Outputofchar*Variables737
26.3.2CharacterOutputUsingMemberFunctionput738
26.4StreamInput738
26.4.1getandgetlineMemberFunctions739
26.4.2istreamMemberFunctionspeek,putbackandignore741
26.4.3Type-SafeI/O741
26.5UnformattedI/OUsingread,writeandgcount741
26.6IntroductiontoStreamManipulators742
26.6.1IntegralStreamBase:dec,oct,hexandsetbase742
26.6.2Floating-PointPrecision(precision,setprecision)743
26.6.3FieldWidth(width,setw)744
26.6.4User-DefinedOutputStreamManipulators745
26.7StreamFormatStatesandStreamManipulators746
26.7.1TrailingZerosandDecimalPoints(showpoint)746
26.7.2Justification(left,rightandinternal)747
26.7.3Padding(fill,setfill)748
26.7.4IntegralStreamBase(dec,oct,hex,showbase)749
26.7.5Floating-PointNumbers;ScientificandFixedNotation(scientific,fixed)750
26.7.6Uppercase/LowercaseControl(uppercase)751
26.7.7SpecifyingBooleanFormat(boolalpha)751
26.7.8SettingandResettingtheFormatStateviaMemberFunctionflags752
26.8StreamErrorStates753
26.9TyinganOutputStreamtoanInputStream754
26.10Wrap-Up755

Chapter27ExceptionHandling764
27.1Introduction765
27.2Exception-HandlingOverview765
27.3Example:HandlinganAttempttoDividebyZero766
27.4WhentoUseExceptionHandling770
27.5RethrowinganException771
27.6ExceptionSpecifications772
27.7ProcessingUnexpectedExceptions773
27.8StackUnwinding773
27.9Constructors,DestructorsandExceptionHandling774
27.10ExceptionsandInheritance775
27.11ProcessingnewFailures775
27.12Classauto_ptrandDynamicMemoryAllocation778
27.13StandardLibraryExceptionHierarchy780
27.14OtherError-HandlingTechniques781
27.15Wrap-Up782
AppendixAInternetandWebResources788
A.1FreeC/C++CompilersandDevelopmentTools788
A.2CResourceSites789
A.3C99789
A.4CProjects,FreewareandShareware790
A.5CSourceCode790
A.6CArticlesandWhitepapers791
A.7CTutorialsandWebcasts791
A.8GNOMEandGLib792
A.9SWIG793
A.10Objective-C793
A.11CSampleChaptersandeBooks794
A.12CWikis794
A.13CFAQs794
A.14CNewsgroups795
A.15CBlogs795
A.16CDownloadsfromDownload.com795
A.17CGameProgramming795
A.18AllegroGameProgrammingResources796
A.19JobsforCProgrammers797
A.20DeitelCTraining798
AppendixBOperatorPrecedenceCharts799
AppendixCASCIICharacterSet801
AppdndixDNumberSystems802
D.1Introduction802
D.2AbbreviatingBinaryNumbersasOctalandHexadecimalNumbers804
D.3ConvertingOctalandHexadecimalNumberstoBinaryNumbers805
D.4ConvertingfromBinary,OctalorHexadecimaltoDecimal805
D.5ConvertingfromDecimaltoBinary,OctalorHexadecimal806
D.6NegativeBinaryNumbers:Two誷ComplementNotation807
AppendixEGameProgramming:SolvingSudoku812
E.1Introduction812
E.2DeitelSudokuResourceCenter812
E.3SolutionStrategies813
E.4ProgrammingSudokuPuzzleSolvers816
E.5GeneratingNewSudokuPuzzles816
E.6Conclusion818
Index819
点击展开 点击收起

   相关推荐   

—  没有更多了  —

以下为对购买帮助不大的评价

此功能需要访问孔网APP才能使用
暂时不用
打开孔网APP