商品简介
C&C Programming provides a traditional introduction to program development and effective use of C and C Programming Language. The content of this book covers basic components of C and C , data types and structures, Object-Oriented Programming, and its applications.
The first basic part of the book tells the essential of C Programming by introducing the basics and structured programming techniques for programming development. It also demonstrates the use of pointers, arrays, functions, and C standard libraries which facilitate your programming learning. The following part introduces the notions of input and output, overloading, and one of the most important characteristics of C , inheritance. The book also talks about Software Engineering with C .
This book includes many examples in each chapter. Some of the examples are short (maybe few lines) yet very important, while some examples are more complicated ones to solve real-life problems. It is suitable for beginners as well as students with prior programming experience. Students who use this book are suggested to read and reproduce these programs in their own C environment. The exercises at the end of each chapter focus on the key points of the chapter and some of the exercises are real-life problems which need you to build complete programs from scratch.
Hope readers to be more experienced programmers with the help of this book.
目录
Chapter 1 Introduction to C&C++
1.1 History
1.2 The first C&C++ Programs
1.3 Compilation and Linking
1.4 Available IDEs
Exercises
Chapter 2 Basics
2.1 Variable Names
2.2 Data Types and Sizes
2.3 Constants
2.4 Declarations
2.5 Arithmetic Operators
2.6 Relational and Logical Operators
2.7 Type Conversions
2.8 Increment and Decrement Operators
2.9 Bitwise Operators
2.10 Assignment Operators and Expressions
2.11 Precedence and Associativity
2.12 Compound Data Type - Arrays, Structures, Enums and Unions
2.13 Bit-fields
Exercises
Chapter 3 Control Flow
3.1 Statements and Blocks
3.2 If-else
3.3 Switch
3.4 Loops
3.5 Break and Continue
3.6 Goto and Labels
Exercises
Chapter 4 Pointers andArrays
4.1 Pointers and Addresses
4.2 Pointers and Arrays
4.3 Pointers and Functions
4.4 Pointer Arrays and Pointers to Pointers
4.5 Multi-dimensional Arrays
4.6 Pointers and Multi-Dimensional Arrays
4.7 Arrays of Structures
4.8 Pointers to Structures
Exercises
Chapter 5 Functions
5.1 Basics of Functions
5.2 Function Arguments and Return
5.3 Pointers and Function Arguments
5.4 External Variables
5.5 Variable Scope
5.6 Static Variables
5.7 Register Variables
5.8 Block Structure
5.9 Initialization
5.10 Recursion
内容摘要
C&C++Programming,providesatraditionalintroductiontoprogramdevelopmentandeffectiveuseofCandC++programminglanguage.ThecontentofthisbookcoversbasiccomponentsofCandC++,datatypesandstructures,Object-OrientedProgramming,anditsapplications.ThefirstbasicpartofthebooktellsyoutheessentialofCprogrammingbyintroducingthebasicsandstructuredprogrammingtechniquesforprogrammingdevelopment.Italsodemonstratestheuseofpointers,arrays,functionsandC++standardlibrarieswhichfacilitateyourprogramminglearning.Thefollowingpartintroducesthenotionsofinputandoutput,overloading,andoneofthemostimportantcharacteristicsofC++inheritance.ThebookalsotalksaboutSoftwareEngineeringwithC++.Thisbookincludesmanyexamplesineachchapter.Someoftheexamplesareshort(maybefewlines)yetveryimportant,whilesomeexamplesaremorecomplicatedonestosolvereal-lifeproblems.Itissuitableforbeginnersaswellasstudentswithpriorprogrammingexperience.StudentswhousethisbookaresuggestedtoreadandreproducetheseprogramsintheirownC++environment.Theexercisesattheendofeachchapterfocusonthekeypointsofthechapterandsomeoftheexercisesarereal-lifeproblemswhichneedyoutobuildcompleteprogramsfromscratch.Hopereaderscouldbemoreexperiencedprogrammerswiththehelpofthisbook.
以下为对购买帮助不大的评价