The C++ Workshop
A New, Interactive Approach to Learning C++
Dale Green, Kurt Guntheroth, Shaun Ross Mitchell
- 606 páginas
- English
- ePUB (apto para móviles)
- Disponible en iOS y Android
The C++ Workshop
A New, Interactive Approach to Learning C++
Dale Green, Kurt Guntheroth, Shaun Ross Mitchell
Información del libro
Learn to create high-performance, error-free programs by understanding the core principles and techniques behind programming in C++
Key Features
- Gain a solid understanding of the syntax and anatomy of C++
- Implement best practices when building high-performance C++ programs
- Prepare for real-world development tasks by tackling engaging activities
Book Description
C++ is the backbone of many games, GUI-based applications, and operating systems. Learning C++ effectively is more than a matter of simply reading through theory, as the real challenge is understanding the fundamentals in depth and being able to use them in the real world. If you're looking to learn C++ programming efficiently, this Workshop is a comprehensive guide that covers all the core features of C++ and how to apply them. It will help you take the next big step toward writing efficient, reliable C++ programs.
The C++ Workshop begins by explaining the basic structure of a C++ application, showing you how to write and run your first program to understand data types, operators, variables and the flow of control structures. You'll also see how to make smarter decisions when it comes to using storage space by declaring dynamic variables during program runtime.
Moving ahead, you'll use object-oriented programming (OOP) techniques such as inheritance, polymorphism, and class hierarchies to make your code structure organized and efficient. Finally, you'll use the C++ standard library?s built-in functions and templates to speed up different programming tasks.
By the end of this C++ book, you will have the knowledge and skills to confidently tackle your own ambitious projects and advance your career as a C++ developer.
What you will learn
- Understand how a C++ program is written, executed, and compiled
- Efficiently work with the essential C++ data types and variables
- Build your own C++ applications by writing clear and error-free code
- Grasp the core principles behind object-oriented programming
- Simplify your code by using templates and the standard library
- Debug logical errors and handle exceptions in your program
Who this book is for
This Workshop is for anyone who is new to C++ who wants to build a strong foundation for C++ game programming or application development. Basic prior knowledge of data structures and OOP concepts, as well as experience in any other programming language, will help you grasp the concepts covered in this book more easily.
Preguntas frecuentes
Información
1. Your First C++ Application
Introduction
Advantages of C++
- Performance: By putting the programmer close to the hardware, C++ allows us to write very efficient programs. Along with low-level memory access, the abstraction between code and what the machine will do is smaller than in most other languages, meaning you can manipulate the system better.
- Portability: C++ can be cross-compiled to a wide array of platforms, and runs on everything from watches to televisions. If you're writing an application or library for more than one platform, C++ shines.
- General purpose: C++ is a general-purpose programming language, and is used in everything from video games to enterprise. With a rich feature set spanning everything from direct memory management to classes and other Object-Oriented Programming (OOP) principles, you can make C++ work for you.
- Large libraries: Since the language is used in so many applications, there's an abundance of libraries to choose from. With hundreds of open source repositories, the wealth of information (and the support systems that come with it) is vast.