C++ in One Hour a Day, Sams Teach Yourself: Sams Teach Yourself
Autor Siddhartha Raoen Limba Engleză Paperback – 22 dec 2016
- MasterthefundamentalsofC++andobject-orientedprogramming
- UnderstandhowC++featureshelpyouwritecompactandefficientcodeusingconceptssuchaslambdaexpressions,moveconstructors,andassignmentoperators
- LearnbestpracticesandavoidpitfallsviausefulDo'sandDon'ts
- LearntheStandardTemplateLibrary,includingcontainersandalgorithmsusedinmostreal-worldC++applications
- Testyourknowledgeandexpertisewithexercisesattheendofeverylesson
- Nopreviousprogrammingexperiencerequired
- WritefastandpowerfulC++programs,compilethesourcecode,andcreateexecutablefiles
- Learnobject-orientedprogrammingconceptssuchasencapsulation,abstraction,inheritance,andpolymorphism
- UsetheStandardTemplateLibrary'salgorithmsandcontainerstowritefeature-richyetstableC++applications
- LearnhowautomatictypedeductionhelpssimplifyC++code
- Developsophisticatedprogrammingtechniquesusinglambdaexpressions,smartpointers,andmoveconstructors
- MasterthefeaturesofC++bylearningfromprogrammingexperts
- LearnC++featuresthatallowyoutoprogramcompactandhigh-performanceC++applications
- Previewwhat'snewinC++17
PartI:TheBasics
Lesson1:GettingStartedLesson2:TheAnatomyofaC++ProgramLesson3:UsingVariables,DeclaringConstantsLesson4:ManagingArraysandStringsLesson5:WorkingwithExpressions,Statements,andOperatorsLesson6:ControllingProgramFlowLesson7:OrganizingCodewithFunctionsLesson8:PointersandReferencesExplained
PartII:FundamentalsofObject-OrientedC++Programming
Lesson9:ClassesandObjectsLesson10:ImplementingInheritanceLesson11:PolymorphismLesson12:OperatorTypesandOperatorOverloadingLesson13:CastingOperatorsLesson14:AnIntroductiontoMacrosandTemplates
PartIII:LearningtheStandardTemplateLibrary(STL)
Lesson15:AnIntroductiontotheStandardTemplateLibraryLesson16:TheSTLStringClassLesson17:STLDynamicArrayClassesLesson18:STLlistandforward_listLesson19:STLSetClassesLesson20:STLMapClasses
PartIV:MoreSTL
Lesson21:UnderstandingFunctionObjectsLesson22:LambdaExpressionsLesson23:STLAlgorithmsLesson24:AdaptiveContainers:StackandQueueLesson25:WorkingwithBitFlagsUsingSTL
PartV:AdvancedC++Concepts
Lesson26:UnderstandingSmartPointersLesson27:UsingStreamsforInputandOutputLesson28:ExceptionHandlingLesson29:GoingForward
PartVI:AppendixesAppendixA:WorkingwithNumbers:BinaryandHexadecimalAppendixB:C++KeywordsAppendixC:OperatorPrecedenceAppendixD:ASCIICodesAppendixE:Answers
Toate formatele și edițiile | Preț | Express |
---|---|---|
Paperback (2) | 229.20 lei 3-5 săpt. | +57.62 lei 10-14 zile |
Pearson – 23 mar 2022 | 229.20 lei 3-5 săpt. | +57.62 lei 10-14 zile |
ZIFF-DAVIS PRESS – 22 dec 2016 | 241.14 lei 3-5 săpt. |
Preț: 241.14 lei
Preț vechi: 301.43 lei
-20% Nou
46.15€ • 48.10$ • 38.42£
Carte disponibilă
Livrare economică 14-28 decembrie
Specificații
ISBN-10: 0789757745
Pagini: 800
Ilustrații: illustrations
Dimensiuni: 182 x 232 x 45 mm
Greutate: 1.23 kg
Ediția:8th edition
Editura: ZIFF-DAVIS PRESS
Seria Sams Teach Yourself
Descriere
In just one hour a day, you’ll have all the skills you need to begin programming in C++. With this complete tutorial, you’ll quickly master the basics, and then move on to more advanced features and concepts. Completely updated for the C++14 standard, with a preview of C++17, this book presents the language from a practical point of view, helping you learn how to use C++ to create faster, simpler, and more efficient C++ applications.
- Master the fundamentals of C++ and object-oriented programming
- Understand how C++ features help you write compact and efficient code using concepts such as lambda expressions, move constructors, and assignment operators
- Learn best practices and avoid pitfalls via useful Do’s and Don’ts
- Learn the Standard Template Library, including containers and algorithms used in most real-world C++ applications
- Test your knowledge and expertise with exercises at the end of every lesson
Learn on your own time, at your own pace:
- No previous programming experience required
- Write fast and powerful C++ programs, compile the source code, and create executable files
- Learn object-oriented programming concepts such as encapsulation, abstraction, inheritance, and polymorphism
- Use the Standard Template Library’s algorithms and containers to write feature-rich yet stable C++ applications
- Learn how automatic type deduction helps simplify C++ code
- Develop sophisticated programming techniques using lambda expressions, smart pointers, and move constructors
- Master the features of C++ by learning from programming experts
- Learn C++ features that allow you to program compact and high-performance C++ applications
- Preview what’s new in C++17
Contents at a Glance
Part I: The Basics
Lesson 1: Getting Started
Lesson 2: The Anatomy of a C++ Program
Lesson 3: Using Variables, Declaring Constants
Lesson 4: Managing Arrays and Strings
Lesson 5: Working with Expressions, Statements, and Operators
Lesson 6: Controlling Program Flow
Lesson 7: Organizing Code with Functions
Lesson 8: Pointers and References Explained
Part II: Fundamentals of Object-Oriented C++ Programming
Lesson 9: Classes and Objects
Lesson 10: Implementing Inheritance
Lesson 11: Polymorphism
Lesson 12: Operator Types and Operator Overloading
Lesson 13: Casting Operators
Lesson 14: An Introduction to Macros and Templates
Part III: Learning the Standard Template Library (STL)
Lesson 15: An Introduction to the Standard Template Library
Lesson 16: The STL String Class
Lesson 17: STL Dynamic Array Classes
Lesson 18: STL list and forward_list
Lesson 19: STL Set Classes
Lesson 20: STL Map Classes
Part IV: More STL
Lesson 21: Understanding Function Objects
Lesson 22: Lambda Expressions
Lesson 23: STL Algorithms
Lesson 24: Adaptive Containers: Stack and Queue
Lesson 25: Working with Bit Flags Using STL
Part V: Advanced C++ Concepts
Lesson 26: Understanding Smart Pointers
Lesson 27: Using Streams for Input and Output
Lesson 28: Exception Handling
Lesson 29: Going Forward
Part VI: Appendixes
Appendix A: Working with Numbers: Binary and Hexadecimal
Appendix B: C++ Keywords
Appendix C: Operator Precedence
Appendix D: ASCII Codes
Appendix E: Answers
Cuprins
Lesson 1: Getting Started
A Brief History of C++
Connection to C
Advantages of C++
Evolution of the C++ Standard
Who Uses Programs Written in C++?
Programming a C++ Application
Steps to Generating an Executable
Analyzing Errors and "Debugging"
Integrated Development Environments
Programming Your First C++ Application
Building and Executing Your First C++ Application
Understanding Compiler Errors
What's New in C++?
Lesson 2: The Anatomy of a C++ Program
Parts of the Hello World Program
Preprocessor Directive #include
The Body of Your Program main()
Returning a Value
The Concept of Namespaces
Comments in C++ Code
Functions in C++
Basic Input Using std::cin and Output Using std::cout
Lesson 3: Using Variables, Declaring Constants
What Is a Variable?
Memory and Addressing in Brief
Declaring Variables to Access and Use Memory
Declaring and Initializing Multiple Variables of a Type
Understanding the Scope of a Variable
Global Variables
Naming Conventions
Common Compiler-Supported C++ Variable Types
Using Type bool to Store Boolean Values
Using Type char to Store Character Values
The Concept of Signed and Unsigned Integers
Signed Integer Types short, int, long, and long long
Unsigned Integer Types unsigned short, unsigned int, unsigned long, and unsigned long
long
Avoid Overflow Errors by Selecting Correct Data Types
Floating-Point Types float and double
Determining the Size of a Variable Using sizeof
Avoid Narrowing Conversion Errors by Using List Initialization
Automatic Type Inference Using auto
Using typedef to Substitute a Variable's Type
What Is a Constant?
Literal Constants
Declaring Variables as Constants Using const
Constant Expressions Using constexpr
Enumerations
Defining Constants Using #define
Keywords You Cannot Use as Variable or Constant Names
Lesson 4: Managing Arrays and Strings
What Is an Array?
The Need for Arrays
Declaring and Initializing S