1.

Record Nr.

UNINA9910747590903321

Autore

Horton Ivor

Titolo

Beginning C++23 : From Beginner to Pro / / by Ivor Horton, Peter Van Weert

Pubbl/distr/stampa

Berkeley, CA : , : Apress : , : Imprint : Apress, , 2023

ISBN

1-4842-9343-6

Edizione

[7th ed. 2023.]

Descrizione fisica

1 online resource (938 pages)

Altri autori (Persone)

Van WeertPeter

Disciplina

005.133

Soggetti

C++ (Computer program language)

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

1. Basic Ideas -- 2. Introducing Fundamental Types of Data -- 3. Working Fundamental Types -- 4. Making Decisions -- 5. Arrays and Loops -- 6. Pointers and References -- 7. Working with Strings -- 8. Defining Functions -- 9. Vocabulary Types -- 10. Function Templates -- 11. Modules and Namespaces -- 12. Defining your own Data Types -- 13. Operator Overloading -- 14. Inheritance -- 15. Polymorphism -- 16. Runtime Errors and Exceptions -- 17. Class Templates -- 18. Move Semantics -- 19. First-Class Functions -- 20. Containers and Algorithms -- 21. Constrained Templates and Concepts.

Sommario/riassunto

Begin your programming journey with C++ , starting with the basics and progressing through step-by-step examples that will help you become a proficient C++ programmer. This book includes new features from the C++23 standard. All you need are Beginning C++23 and any recent C++ compiler and you'll soon be writing real C++ programs. There is no assumption of prior programming knowledge. All language concepts that are explained in the book are illustrated with working program examples, and all chapters include exercises for you to test and practice your knowledge. Free source code downloads are provided for all examples from the text and solutions to the exercises. This latest edition has been fully updated to the latest version of the language, C++23, and to all conventions and best practices of modern C++. This book also introduces elements of the C++ Standard Library that provide essential support for C++23. After completing this book, you will have the knowledge and skills needed to build your first C++



applications. You will: Begin programming with the C++23 standard Carry out modular programming in C++ Work with arrays and loops, pointers and references, strings, and more Write your own functions, types, and operators Discover the essentials of object-oriented programming Use overloading, inheritance, virtual functions, and polymorphism Write generic function and class templates, and make them safer using concepts Learn the ins and outs of containers, algorithms, and ranges Use auto type declarations, exceptions, move semantics, lambda expressions, and much more.