Learn C++ for game development

"If you're new to C++ but understand some basic programming, then Learn C++ for Game Development lays the foundation for the C++ language and API that you'll need to build game apps and applications. Learn C++ for Game Development will show you how to: Master C++ features such as vari...

Full description

Main Author: Sutherland, Bruce (Video game developer),
Other Authors: SpringerLink (Online service)
Format: eBook
Language: English
Published: [Berkeley, CA] : Apress, [2014]
Physical Description: 1 online resource (xvii, 278 pages) : illustrations.
Series: Expert's voice in game development.
Subjects:
Summary: "If you're new to C++ but understand some basic programming, then Learn C++ for Game Development lays the foundation for the C++ language and API that you'll need to build game apps and applications. Learn C++ for Game Development will show you how to: Master C++ features such as variables, pointers, flow controls, functions, I/O, classes, exceptions, templates, and the Standard Template Library (STL); Use design patterns to simplify your coding and make more powerful games; Manage memory efficiently to get the most out of your creativity; Load and save games using file I/O, so that your users are never disappointed. Most of today's popular console and PC game platforms use C++ in their SDKs. Even the Android NDK and now the iOS SDK allow for C++; so C++ is growing in use for today's mobile game apps. Game apps using C++ become much more robust, better looking, more dynamic, and better performing. After reading this book, you'll have the skills to become a successful and profitable game app or applications developer in today's increasingly competitive indie game marketplace. The next stage is to take the foundation from this book and explore SDKs such as Android/Ouya, PlayStation, Wii, Nintendo DS, DirectX, Unity3D, and GameMaker Studio to make your career really take off. What you'll learn: How to use the various C++ skill fundamentals: variables, pointers, flow controls, functions, I/O, classes, exceptions, and more; How to write C++ games using object-oriented programming techniques: classes, objects, inheritance, and polymorphism; How to use templates and the Standard Template Library (STL) in C++; How to work with design patterns in C++ game development; How to apply C++ to native game activities; How to master concurrency and the gains in performance it brings. This book is for aspiring game developers with some previous programming experience who need to learn the critical C++ skills necessary to build game applications. C++ is the most popular programming language in use behind most game applications."--
Item Description: "If you're new to C++ but understand some basic programming, then Learn C++ for Game Development lays the foundation for the C++ language and API that you'll need to build game apps and applications. Learn C++ for Game Development will show you how to: Master C++ features such as variables, pointers, flow controls, functions, I/O, classes, exceptions, templates, and the Standard Template Library (STL); Use design patterns to simplify your coding and make more powerful games; Manage memory efficiently to get the most out of your creativity; Load and save games using file I/O, so that your users are never disappointed. Most of today's popular console and PC game platforms use C++ in their SDKs. Even the Android NDK and now the iOS SDK allow for C++; so C++ is growing in use for today's mobile game apps. Game apps using C++ become much more robust, better looking, more dynamic, and better performing. After reading this book, you'll have the skills to become a successful and profitable game app or applications developer in today's increasingly competitive indie game marketplace. The next stage is to take the foundation from this book and explore SDKs such as Android/Ouya, PlayStation, Wii, Nintendo DS, DirectX, Unity3D, and GameMaker Studio to make your career really take off. What you'll learn: How to use the various C++ skill fundamentals: variables, pointers, flow controls, functions, I/O, classes, exceptions, and more; How to write C++ games using object-oriented programming techniques: classes, objects, inheritance, and polymorphism; How to use templates and the Standard Template Library (STL) in C++; How to work with design patterns in C++ game development; How to apply C++ to native game activities; How to master concurrency and the gains in performance it brings. This book is for aspiring game developers with some previous programming experience who need to learn the critical C++ skills necessary to build game applications. C++ is the most popular programming language in use behind most game applications."-- Unedited summary from book.
At a Glance; Introduction; Chapter 1: Beginning C++; Compilers; Programming Paradigms; Procedural Programming; Object-Oriented Programming; Generic Programming; C++ Game Programming; Our First C++ Program; Summary; Part 1: Procedural Programming; Chapter 2: Writing a Guessing Game with C++ Types; Dynamic Versus Static Typed Languages; Declaring Variables; Defining Variables; Integers; Unsigned Integers; Two's Complement; Floating Point Numbers; Boolean Values; Enums; Switching from One Type to Another; static_cast; A Simple Guessing Game; Summary.
Passing Parameters to FunctionsReturn Values; Passing by Pointer; Passing by Reference; Structures; Adding Functions to Text Adventure; Summary; Chapter 6: Making Decisions with Flow Control; The if Statement; The else and else if Statements; The for Loop; The while Loop; The switch Statement; The break and continue Keywords; The goto Statement; Adding a Game Loop to Text Adventure; Summary; Chapter 7: Organizing Projects Using Files and Namespaces; Source and Header Files; Creating Namespaces; Updating Text Adventure with Source Files, Header Files, and Namespaces; Summary.
Part 2: Object-Oriented ProgrammingChapter 8: Object-Oriented Programming with Classes; Object-Oriented Programming; Encapsulation; Constructors and Destructors; Method Overloading; Operator Overloading; Updating Text Adventure to Use Classes; Summary; Chapter 9: Controlling Data with Access Modifiers; The static Keyword; Creating static Local Variables; Using static class Member Variables; Using static Member Methods; Using static to Alter Global Scope; The const Keyword; Constant Variables; Constant Pointers; Constant Parameters; Constant Member Methods; Two More Keywords.
English.
Physical Description: 1 online resource (xvii, 278 pages) : illustrations.
ISBN: 9781430264583
1430264586