1.

Record Nr.

UNINA9910349527103321

Autore

Briggs Will

Titolo

C++ for lazy programmers : quick, easy, and fun C++ for beginners / / by Will Briggs

Pubbl/distr/stampa

Berkeley, CA : , : Apress : , : Imprint : Apress, , 2019

ISBN

1-4842-5187-3

Edizione

[1st edition.]

Descrizione fisica

1 online resource (xxvii, 644 pages) : illustrations

Disciplina

005.13

Soggetti

Programming languages (Electronic computers)

Computer games—Programming

Computer programming

Software engineering

Programming Languages, Compilers, Interpreters

Game Development

Programming Techniques

Software Engineering

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Nota di bibliografia

Includes bibliographical references and index.

Nota di contenuto

1. Getting Started -- 2. Images and Sound -- 3. Numbers -- 4. Mouse, and if -- 5. Loops, Input and char -- 6. Algorithms and the Development Process -- 7. Functions -- 8. Functions (continued) -- 9. Using the Debugger -- 10. Arrays and enum -- 11. Animation with structs and Sprites -- 12. Making an Arcade Game: Input, Collisions, and Putting It All Together -- 13. Standard I/O and File Operations -- 14. Character Arrays and Dynamic Memory -- 15. Classes -- 16. Classes (continued) -- 17. Operators -- 18. Exceptions, Move Constructors, Recursion and O notation -- 19. Classes (continued) (Inheritance) -- 20. Template Functions and Classes -- 21. Virtual Functions and Multiple Inheritance -- 22. Linked Lists -- 23. The Standard Template Library (STL) -- 24. Building Bigger Projects -- 25. History26. Esoterica (recommended) -- 27. Esoterica (not so recommended) -- 28. C -- 29. Moving on with SDL -- Appendix A. Setting up SDL and SSDL -- Appendix B. Operators -- Appendix C. ASCII Codes -- Appendix D. Fundamental Types -- Appendix E. Escape



Sequences -- Appendix F. Basic C Standard Functions -- Appendix G. Debugger -- Appendix H. SSDL Functions.

Sommario/riassunto

Learn C++ the quick, easy, and “lazy” way. This book is an introductory programming text that uses humor and fun to make you actually willing to read, and eager to do the projects -- with the popular C++ language. C++ for Lazy Programmers is a genuinely fun learning experience that will show you how to create programs in the C++ language. This book helps you learn the C++ language with a unique method that goes beyond syntax and how-to manuals and helps you understand how to be a productive programmer. It provides detailed help with both the Visual Studio and g++ compilers plus their debuggers, and includes the latest version of the language, C++17, too. Along the way you’ll work through a number of labs: projects intended to stretch your abilities, test your new skills, and build confidence. You'll go beyond the basics of the language and learn how build a fun C++ arcade game project. After reading and using this book, you’ll be ready for your first real-world C++ application or game project on your own. You will: Program for the first time in C++ in a fun, quick and easy manner Discover the SDL graphics and gaming library Work with SSDL, the Simple SDLwrapper library Use the most common C++ compilers: Visual Studio, and g++ (with Unix or MinGW) Practice “anti-bugging” for easy fixes to common problems Work with the debugger Acquire examples-driven concepts and ideas Build a C++-based arcade game application Apply built-in Standard Template Library (STL) functions and classes for easy and efficient programming Dip your toe in C, C++'s ancestor, still extensively used in industry Use new C++11/14/17 features including lambda functions, constexpr, and smart pointers.