Nicht aus der Schweiz? Besuchen Sie lehmanns.de
C Recipes - Shirish Chavan

C Recipes

A Problem-Solution Approach

(Autor)

Buch | Softcover
XXXIII, 446 Seiten
2017
Apress (Verlag)
978-1-4842-2966-8 (ISBN)
CHF 67,35 inkl. MwSt
  • Versand in 15-20 Tagen
  • Versandkostenfrei
  • Auch auf Rechnung
  • Artikel merken
  • C programming book written following the standards of ANSI C
  • Teaches the fundamentals of C programming including operators, expressions and control structures
  • Follows a step by step approach that takes a reader from basics to advanced concepts

Solve your C programming problems with practical and informative recipes. This book covers various aspects of C programming including the fundamentals of C, operators and expressions, control statements, recursion, and user-defined functions. Each chapter contains a series of recipes that you can easily reference to quickly find the answers you are looking for.

C Recipes also contains recipes and solutions for problems in memory management, arrays, standard input and output, structures and unions, pointers, self-referential structures, data files, pre-processor directives, and library functions.
  • Master operators and expressions
  • Write user-defined functions
  • Work with structures and unions
  • Use pointers
  • Define self referential structures
  • Leverage library functions

This book is for those with some experience in C programming.

Shirish Chavan is a writer, a teacher, a software consultant, a scientist, and an orator. He did M.Sc. in Theoretical Physics from Shivaji University, Kolhapur in 1982. He has been teaching Physics and Computer Science in various colleges since past thirty years. As an orator he has delivered hundreds of speeches on various subjects. As a scientist, he is having one discovery and two inventions to his credit. As a writer his eight books are published by reputed publishers and three of them were bestsellers in India for a limited period.

Chapter 1: Welcome to C Chapter Goal: To teach the basics of computer programming and to develop the first program in C. No of pages: 20 Sub - Topics*Brief History of C*Programs, Software, and Operating System*Machine Language and Assembly Language *Procedural Languages *Object-Oriented Languages*Terminology in Computers*Actual Machine and Virtual Machine *Compiled and Interpreted Languages*Our Very First C Program*Next Couple of Programs*C is Free Form Language *Escape Sequences *Salient Features of C*Compile-Time and Run-Time EnvironmentsChapter 2: Fundamentals of C Chapter Goal: To teach the fundamentals of C. No of pages: 35 Sub - Topics*C Character Set*Keywords *Tokens*User-Defined Identifiers*Variables and Function printf ( )*Basic, Primary, or Fundamental Data Types*Hexadecimal, Decimal, Octal, and Binary Systems of Numbers*Basic or Primary Constants*Using Variables*Chain of Assignmets*Symbolic Constants*Interactive Programs *Implicit and Explicit Type Conversion *Operator sizeofChapter 3: Operators and ExpressionsChapter Goal: To teach the use of operators and expressions in C programming. No of pages : 35 Sub - Topics: *Operators*Arithmetic Operators*Precedence (Priority) and Associativity of Operators *Relational and Equality Operators *Logical Operators*Increment and Decrement Operators*Bitwise Operators*Assignment Operators*Ternary Operator ? : *Concept of Computer-Control and Flowchart*Activity Diagrams*Program Design Language (PDL)*Expressions and Statements*Data Type EnumerationChapter 4: Control StatementsChapter Goal: To teach the use of control statements in C programming. No of pages: 35 Sub - Topics: *Types of Statements*Classification of Control Statements*Selection Statement if-else*Nested if-else Statements*else-if Ladder*Labels and goto Statement*Selection Statement switch*Iteration Statement while*Using continue Statement*Using break Statement*Beware of Infinite Loops*Iteration Statement do-while*Iteration Statement for*Nesting of Loops*Computing Area and Perimeter of Circle*Simple ProgramsChapter 5: User-Defined FunctionsChapter Goal: To teach the use of User-Defined Functions in C programming. No of pages: 35 Sub - Topics: *What is this Function?*Using Function Prototype*Experimenting with Functions*Function Returning a Value*Passing Arguments by Value*A Short Introduction to Pointers*Passing the Arguments by Reference or Passing the Pointers*Chain of Function-Calls *Using return Statement*Recursion*Creating a Multi-File Program*Storage Classes*Storage Classes and FunctionsChapter 6: Arrays Chapter Goal: To teach the use of arrays in C programming. No of pages: 35 Sub - Topics: *Derived Types *Welcome to Arrays*One Dimensional Arrays*One-Dimensional Array and String Constants*Bounds Checking *Passing Array to Function as Argument*Multi-Dimensional Arrays*Arrays and Memory Chapter 7: Standard Input and Output Chapter Goal: To teach how to handle input and output in C. No of pages: 35 Sub - Topics: *Primer *Function getchar ( )*Function putchar ( )*Function gets ( )*Function puts ( )*Function scanf ( ) for Input from Keyboard*Function printf ( ) for Output to MonitorChapter 8: Structures and Unions Chapter Goal: To teach the use of structures and unions in C. No of pages: 35 Sub - Topics: *Welcome to Structures*Nesting of Structures*Array of Structures*Pointers to Strctures*Structures and Functions*Using typedef to Create Aliases for Types*Unions*Bit-FieldsChapter 9: Pointers Chapter Goal: To teach the use of pointers in C. No of pages: 35 Sub - Topics: *Pointers and One-Dimensional Arrays*Scaling in Pointer Arithmetic*Valid Pointer Operations*Pointers and Strings*Pointers and Two-Dimensional Arrays*Pointer to an Array*Two-Dimensional Arrays Revisited*Array of Pointers*Two-Dimensional Character Arrays and Pointers*Array of Pointers-to-Strings *Array of Pointers-to-Strings and malloc ( ) Function*Command-Line Arguments*Function Returning Pointer*Pointers to Functions *Pointers to Pointers*Few Examples of Pointer Declarations*Data Type void and Pointer to voidChapter 10: Self Referential Structures Chapter Goal: To teach the use of self referential structures in C. No of pages: 35 Sub - Topics: *Dynamic Memory Allocation*Welcome to Self Referential Structures*Welcome to Linear Linked Lists*Creating a Linked List Using Anonymous Variables*Deleting a Component in the Linked List *Inserting a Component in the Linked List*Creating a Linked List in an Interactive Session*Professional Program to Process a Linear Linked List *Linear Linked Lists with Forward and Backward Traversing*Circular Lists*TreesChapter 11: Data Files Chapter Goal: To teach how to handle the data files in C. No of pages: 35 Sub - Topics: *Reading a File Using the Function fgetc ( ) *If File Opening Fails*Writing to a File Using the Function fputs ( ) *Reading a File Using the Function fgets ( ) *Writing to a File Using the Function fputc ( )*Writing to a File Using the Function fprintf ( )*Reading a File Using the Function fscanf ( )*Text Files and Binary Files*Writing to a File Using the Function fwrite ( )*Reading a File Using the Function fread ( )*Renaming a File and Deleting a File*Copying a Text File*Copying a Binary File*Using the Function rewind ( )*Using the Functions fseek ( ) and ftell ( )*File Opening Modes*C's Model of a File*Composition of Type FILEChapter 12: Preprocessor Directives Chapter Goal: To teach how to use preprocessor directives in C. No of pages: 35 Sub - Topics: *What is Preprocessor?*File Inclusion Directives *Macro Expansion Directives *Macro Expansion Directives With Arguments*Conditional Compilation Directives*Miscellaneous Directives*Directive Operators*Predefined MacrosChapter 13: Library Functions Chapter Goal: To teach how to use library functions in C. No of pages: 20 Sub - Topics: *Character Testing Functions *String Processing Functions*Mathematical Functions * Utility Functions

“This volume provides an interesting supplemental resource for those who are interested in using the C programming language. … Abundant illustrations and a thorough glossary enhance this book's utility to students. Summing Up: Recommended. Lower-division undergraduates and general readers.” (F. H. Wild III, Choice, Vol. 55 (9), May, 2018)

Erscheinungsdatum
Zusatzinfo 3 Illustrations, color; 43 Illustrations, black and white
Verlagsort Berkley
Sprache englisch
Maße 155 x 235 mm
Gewicht 735 g
Einbandart kartoniert
Themenwelt Informatik Programmiersprachen / -werkzeuge C / C++
Informatik Theorie / Studium Compilerbau
Schlagworte Arrays • C • Code • Control Statements • Cookbook • Data Files • Operators and Expressions • Pointers • Recipes • Reference • Structures • Union • User Defined Functions
ISBN-10 1-4842-2966-5 / 1484229665
ISBN-13 978-1-4842-2966-8 / 9781484229668
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Das umfassende Handbuch

von Torsten T. Will

Buch | Hardcover (2024)
Rheinwerk (Verlag)
CHF 69,85
das umfassende Handbuch

von Jürgen Wolf; René Krooß

Buch | Hardcover (2023)
Rheinwerk (Verlag)
CHF 69,85