C言語:理論から実践へ<br>C

C言語:理論から実践へ
C

  • ただいまウェブストアではご注文を受け付けておりません。 ⇒古書を探す
  • 製本 Paperback:紙装版/ペーパーバック版/ページ数 499 p.
  • 言語 ENG
  • 商品コード 9781482214505
  • DDC分類 005

Full Description


Designed for a compulsory fundamental course, Cuses a hands-on approach to teach the C programming language, using numerous examples and a clear, concise presentation. Easy to use and classroom tested, this textbook includes more than 500 exercises and examples of progressive difficulty to help students in understanding all the aspects and peculiarities of C. The exercises test students on various levels of programming and the examples enhance their concrete understanding of programming know-how. Divided into three parts, this book:Introduces the basic concepts of C, like getting input from a user, C's operators, selection statements, and loops.Emphasizes major features of C such as arrays, pointers, functions and strings.Covers advanced topics such as like searching and sorting arrays' algorithms, structures and unions, memory management, the preprocessor and files.The book tests the skills of beginners and advanced developers by providing an easy-to-read compilation of the C theory enriched with tips and advice as well as difficulty-scaled solved programming exercises. It decodes the secrets of the C language, providing inside information and programming knowledge through practical examples and meaningful advice. The examples are designed to be short, concrete, and substantial, quickly giving students the know-how they need.

Contents

Introduction to CHistory of CANSI StandardAdvantages of CDisadvantages of CC Program Life CycleWrite a C ProgramFirst C ProgramCompilationLinkingRun the ProgramReferenceData Types, Variables, and Data OutputVariablesRules for Naming VariablesVariable Name ConventionsDeclaring VariablesAssigning Values to VariablesConstants#define Directiveprintf() FunctionType CastingExercisesUnsolved ExercisesGetting Input with scanf()scanf() FunctionExercisesUnsolved ExercisesOperatorsAssignment OperatorArithmetic OperatorsIncrement and Decrement OperatorsRelational OperatorsExercisesNot Operator !ExercisesCompound OperatorsExerciseLogical OperatorsExercisesComma OperatorExercisesizeof Operatorenum TypeBitwise OperatorsExerciseShift OperatorsExercisesOperator PrecedenceUnsolved ExercisesProgram Controlif Statementif-else StatementNested if StatementsExercisesConditional Operator ?Exercisesswitch StatementExercisesUnsolved ExercisesLoopsfor StatementExercisesbreak Statementcontinue StatementExercisesNested LoopsExerciseswhile StatementExercisesdo-while StatementExercisesgoto StatementUnsolved ExercisesArraysDeclaring ArraysAccessing Array ElementsArray InitializationExercisesTwo-Dimensional ArraysExercisesUnsolved ExercisesPointersPointers and MemoryDeclaring PointersPointer InitializationNULL ValueUse a PointerExercisesvoid* PointerUse of const KeywordPointer ArithmeticExercisesPointers and ArraysExercisesArrays of PointersExercisesPointer to PointerExercisesPointers and Two-Dimensional ArraysExercisesPointer to FunctionExerciseArray of Pointers to FunctionsUnsolved ExercisesCharacterschar TypeExercisesgetchar() FunctionExercisesStringsString LiteralsStoring StringsExercisesWriting StringsExercisePointers and String LiteralsExercisesRead StringsFor a Safe Reading of StringsExercisesString FunctionsExercisesExercisesExercisesTwo-Dimensional Arrays and StringsExercisesUnsolved ExercisesFunctionsFunction DeclarationReturn TypeFunction ParametersFunction Definitionreturn StatementFunction CallExercisesVariables ScopeArrays as ArgumentsExercisesFunction Call with Parameter Two-Dimensional ArrayExercisesPassing Data in main() FunctionExercisesFunctions with Variable Number of ParametersRecursive FunctionsExercisesUnsolved ExercisesSearching and Sorting ArraysSearching ArraysExercisesExercisesSorting ArraysExercisesStructures and UnionsStructuresExerciseUnionsExerciseUnsolved ExercisesMemory Management and Data StructuresMemory BlocksStatic Memory AllocationDynamic Memory Allocationmemcpy() and memmove() Functionsmemcmp() FunctionExercisesDynamic Data StructuresExamplesExercisesUnsolved ExercisesFilesFiles in COpen a FileClose a FileProcess a FileWrite Data in a Text FileExercisesRead Data from a Text FileExercisesEnd of FileWrite and Read Data from a Binary FileExercisesfeof() FunctionExerciseUnsolved ExercisesPreprocessor Directives and MacrosSimple MacrosMacros with Parameters# and ## Preprocessor OperatorsPreprocessor Directives and Conditional CompilationExercisesUnsolved ExercisesReview ExercisesAppendix AAppendix BAppendix CAppendix DBibliographyIndex

最近チェックした商品