成功加入购物车
[美] 埃克尔 著 / 机械工业出版社 / 2002-01 / 平装
售价 ¥ 8.97 1.5折
定价 ¥58.00
品相 八品
优惠 满包邮
延迟发货说明
上书时间2025-02-11
卖家超过10天未登录
C++编程思想
ThisbookisathoroughrewriteofthefirsteditiontoreflectallofthechangesintroducedinC++bythefinalizationoftheC++Standard,andalsotoreflectwhatIvelearnedsincewritingthefirstedition.Theentiretextpresentinthefirsteditionhasbeenexaminedandrewritten,sometimesremovingoldexamples,oftenchangingexistingexamplesandaddingnewones,andaddingmanynewexercises.Significantrearrangementandre-orderingofthematerialtookplacetoreflecttheavailabilityofbettertoolsandmyimprovedunderstandingofhowpeoplelearnC++.AnewchapterwasaddedwhichisarapidintroductiontotheCconceptsandbasicC++featuresforthosewhodonthavetheCbackgroundtotackletherestofthebook.TheCDROMboundintothebackofthebookcontainsaseminarthatisanevengentlerintroductiontotheCconceptsnecessarytounderstandC++(orJava).ItwascreatedbyChuckAllisonformycompany(MindView,Inc.),anditscalled"ThinkinginC:FoundationsforJavaandC++."ItintroducesyoutotheaspectsofCthatarenecessaryforyoutomoveontoC++orJava,leavingoutthenastybitsthatCprogrammersmustdealwithonaday-to-daybasisbutthattheC++andJavalanguagessteeryouawayfrom(oreveneliminate,inthecaseofJava).
Whatsinside...PrefaceWhatsnewinthesecondeditionPrerequisitesLearningC++GoalsChaptersExercisesSourcecodeLanguagestandardsThebooksCDROMCDROMs,seminarsandconsultingErrorsAboutthecoverBookdesignandproductionAcknowledgements1:IntroductiontoObjectsTheprogressofabstractionAnobjecthasaninterfaceThehiddenimplementationReusingtheimplementationInheritance:reusingtheinterfaceInterchangeableobjectswithpolymorphismCreatinganddestroyingobjectsExceptionhandling:dealingwitherrorsAnalysisanddesignExtremeprogrammingWhyC++SucceedsStrategiesfortransitionSummary2:Making&UsingDbjectsTheprocessoffanguagetranstationToolsforseparatecompilationYourfirstC++programMoreaboutiostreamsIntroducingstringsReadingandwritingfilesIntroducingvectorSummaryExercises3:TheCinC++CreatingfunctionsControllingexecutionIntroductiontooperatorsIntroductiontodatatypesScopingSpecifyingstorageallocationOperatorsandtheiruseCompositetypecreationDebugginghintsFunctionaddressesMake:managingseparatecompilationSummaryExercises4:DataAbstractionAtinyC-likelibraryWhatswrong?ThebasicobjectWhatsanobject?AbstractdatatypingObjectdetailsHeaderfileetiquetteNestedstructuresSummaryExercises5:HidingtheImplementationSettinglimitsC++accesscontrolFriendsObjectlayoutTheclassHandleclassesSummaryExercises6:Initialization&CleanupGuaranteedInitiaIizationwiththeconstructorGuaranteedcleanupwiththedestructorEliminationofthedefinitionblockStashwithconstructorsanddestructorsStackwithconstructors&destructorsAggregateinitializationDefaultconstructorsSummaryExercises7:FunctionOverloading&DefaultArgumentsMorenamedecorationOverloadingexampleunionsDefaultargumentsChoosingoverloadingvs.defaultargumentsSummaryExercises8:ConstantsValuesubstitutionPointersFunctionarguments&returnvaluesClassesvolatifeSummaryExercises9:InlineFunctionsPreprocessorpitfallsInlinefunctionsStash&StackwithinlinesInlines&thecompilerReducingclutterMorepreprocessorfeaturesImprovederrorcheckingSummaryExercises10:NameControlStaticelementsfromCNamespacesStaticmembersinC++StaticinitializationdependencyAlternatelinkagespecificationsSummaryExercises11:References&theCopy-ConstructorPointersinC++ReferencesinC++Thecopy-constructorPointerstomembersSummaryExercises12:OperatorOverloadingWarning&reassuranceSyntaxOverloadableoperatorsNon-memberoperatorsOverloadingassignmentAutomatictypeconversionSummaryExercises13:DynamicObjectCreationObjectcreationEarlyexamplesredesignednew&deleteforarraysRunningoutofstorageOverloadingnew&deleteSummaryExercises14:Inheritance&CompositionCompositionsyntaxInheritancesyntaxTheconstructorinitializerlistCombiningcomposition&inheritanceNamehidingFunctionsthatdontautomaticallyinheritChoosingcompositionvs.inheritanceprotectedOperatoroverloading&inheritanceMultipleinheritanceIncrementaldevelopmentUpcastingSummaryExercises15:Polymorphism&VirtualFunctionsEvolutionofC++programmersUpcastingTheproblemvirtualfunctionsHowC++implementslatebindingWhyvirtualfunctions?AbatractbaseclassesandpurevirtualfunctionsInheritanceandtheVTABLEOverloading&overridingvirtualfunctions&constructorsDestructorsandvirtualdestructorsOperatoroverloadingDowncastionSummaryExercises16:IntroductiontoTemplatesContainersOverviewoftemplatesTemplatesyntaxStackandStashastemplatesTurningownershiponandoffHoldinqobjectsbyvalueIntroducingiteratorsWhyiterators?SummaryExercisesCodingStyleProgramminglidelinesRecommendedadingCGeneralC++Depth&darkcornersAnalysis&designIndex
展开全部
配送说明
...
相似商品
为你推荐
开播时间:09月02日 10:30