資源描述:
《Practical C Programming 3rd Edition.pdf》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫(kù)。
1、PracticalCProgramming,3rdEditionBySteveOualline3rdEditionAugust1997ISBN:1-56592-306-5Thisneweditionof"PracticalCProgramming"teachesusersnotonlythemechanicsorprogramming,butalsohowtocreateprogramsthatareeasytoread,maintain,anddebug.Itfeaturesmoreextensiveexamplesandanintroductiontographicaldevelop
2、mentenvironments.ProgramsconformtoANSIC.0TEAMFLYPRESENTSTableofContentsPrefaceHowThisBookisOrganizedChapterbyChapterNotesontheThirdEditionFontConventionsObtainingSourceCodeCommentsandQuestionsAcknowledgmentsAcknowledgmentstotheThirdEditionI.Basics1.WhatIsC?HowProgrammingWorksBriefHistoryofCHowCWo
3、rksHowtoLearnC2.BasicsofProgramWritingProgramsfromConceptiontoExecutionCreatingaRealProgramCreatingaProgramUsingaCommand-LineCompilerCreatingaProgramUsinganIntegratedDevelopmentEnvironmentGettingHelponUNIXGettingHelpinanIntegratedDevelopmentEnvironmentIDECookbooksProgrammingExercises3.StyleCommon
4、CodingPracticesCodingReligionIndentationandCodeFormatClaritySimplicitySummary4.BasicDeclarationsandExpressionsElementsofaProgramBasicProgramStructureSimpleExpressionsVariablesandStorage1TEAMFLYPRESENTSVariableDeclarationsIntegersAssignmentStatementsprintfFunctionFloatingPointFloatingPointVersusIn
5、tegerDivideCharactersAnswersProgrammingExercises5.Arrays,Qualifiers,andReadingNumbersArraysStringsReadingStringsMultidimensionalArraysReadingNumbersInitializingVariablesTypesofIntegersTypesofFloatsConstantDeclarationsHexadecimalandOctalConstantsOperatorsforPerformingShortcutsSideEffects++xorx++Mo
6、reSide-EffectProblemsAnswersProgrammingExercises6.DecisionandControlStatementsifStatementelseStatementHowNottoUsestrcmpLoopingStatementswhileStatementbreakStatementcontinueStatementAssignmentAnywhereSideEffectAnswerProgrammingExercises7.ProgrammingProcessSettingUpSpecification2TEAMFLYPRESENTSCode
7、DesignPrototypeMakefileTestingDebuggingMaintenanceRevisionsElectronicArchaeologyMarkingUptheProgramUsingtheDebuggerTextEditorasaBrowserAddCommentsProgrammingExercisesII.SimpleProgramming8.MoreControlStatementsforStatem