上传者: sorbicacid
|
上传时间:2024/9/23 17:18:36
|
文件大小:4.2MB
|
文件类型:PDF
C++byExample
Everyday,moreandmorepeoplelearnandusetheC++programmingLanguage.IhavetaughtCtothousandsofstudentsinmylife.IseemanyofthosestudentsnowmovingtoC++intheirschoolworkorcareer.TheC++languageisbecominganindustry-acceptedstandardprogramminglanguage,usingthesolidfoundationofCtogainafoothold.C++issimplyabetterCthanC.C++ByExampleisoneofseveralbooksinQue抯newlineofByExampleseries.Thephilosophyofthesebooksissimple:Thebestwaytoteachcomputerprogrammingconceptsiswithmultipleexamples.Commanddescriptions,formatsyntax,andlanguagereferencesarenotenoughtoteachanewcomeraprogramminglanguage.Onlybylookingatnumerousexamplesandbyrunningsampleprogramscanprogrammingstudentsgetmorethanjusta揻eel?forthelanguage.TableofContentsOverviewIIntroductiontoC++1WelcometoC++2WhatIsaProgram?3YourFirstC++Program4VariablesandLiterals5CharacterArraysandStrings6PreprocessorDirectives7SimpleInput/OutputIIUsingC++Operators8UsingC++MathOperatorsandPrecedence9RelationalOperators10LogicalOperators11AdditionalC++OperatorsIIIC++Constructs12ThewhileLoop13TheforLoop14OtherLoopOptions15TheswitchandgotoStatements16WritingC++FunctionsIVVariableScopeandModularProgramming17VariableScope18PassingValue19FunctionReturnValuesandPrototyping20DefaultArgumentsandFunctionOverloadingVCharacterInput/OutputandStringFunctions21DeviceandCharacterInput/Output22Character,String,andNumericFunctionsContentsxVIArraysandPointers23IntroducingArrays24ArrayProcessing25MultidimensionalArrays26Pointers27PointersandArraysVIIStructuresandFileInput/Output28Structures29ArraysofStructures30SequentialFiles31Random-AccessFiles32IntroductiontoObject-OrientedProgrammingVIIIReferencesAMemoryAddressing,Binary,andHexadecimalReviewBAnswerstoReview
本软件ID:1007283