Modern C++ for Absolute Beginners

A Friendly Introduction to C+ Language and C+11 to C+20 Standards
 
 
Apress
  • 2. Auflage
  • |
  • erscheint ca. am 12. Februar 2021
 
  • Buch
  • |
  • Softcover
978-1-4842-6046-3 (ISBN)
 
Learn the basics of the modern C++ programming language from scratch, including the C++11 to C++20 standards, no experience necessary. You'll work with expressions and statements, variables, libraries, arguments, classes, functions, memory handling, and much more.Each section is filled with real-world examples and advice on how to avoid common mistakes. Modern C++ for Absolute Beginners will teach you more than just programming in C++20. It will provide you with a set of C++ skills, which will serve you if you ever decide to deepen your knowledge in C++, computer science, or learn more about advanced C++ techniques.

The author will take you through the C++ programming language, the Standard Library, and the C++11 to C++20 standard basics. Each chapter is accompanied by the right amount of theory and plenty of source code examples.

You will work with C++20 features and standards, yet you will also compare and take a look into previous versions of C++. You will do so with plenty of examples and real code writing to gain an even better level of understanding.

What You Will Learn Use the basics of C++: types, operators, variables, constants, expressions, references, functions, classes, I/O, smart pointers, polymorphism, and more Set up the Visual Studio development environment where you can write your own codeDeclare and define functions, classes, and objectsDiscover object-oriented programming: classes and objects, encapsulation, inheritance, polymorhism, and more using the most advanced C++ featuresEmploy best practices in organizing source code, controlling program workflow, C++ language dos and donts, and moreProgram using lambda, modules, inheritance, polymorphism, smart pointers, templates, contracts, STL, concepts, and exceptions Who This Book Is For

Beginner or novice programmers who wish to learn C++ programming. No prior programming experience is required.

  • Englisch
  • CA
  • |
  • USA
  • Für Beruf und Forschung
  • Überarbeitete Ausgabe
Approx. 200 p.
  • Höhe: 25.4 cm
  • |
  • Breite: 17.8 cm
978-1-4842-6046-3 (9781484260463)
10.1007/978-1-4842-6047-0
weitere Ausgaben werden ermittelt
Slobodan Dmitrovic is a C++ software developer with a strong interest in software architecture, modern C++, research and development, and training.
1. Introduction2. What is C++?3. C++ Compilers4. Our First Program5. Types6. Exercises7. Operators8. Standard Input9. Exercises10. Arrays11. Pointers12. References13. Introduction to Strings 14. Automatic Type Deduction15. Exercises16. Statements17. Constants18. Functions19. Exercises20. Scope and Lifetime21. Exercises22. Classes - Part I23. Exercises24. Classes - Part II25. The static Specifier26. Templates27. Enumerations28. Organizing code29. Exercises30. Conversions31. Exceptions32. Smart Pointers33. C++ Standard Library and Friends34. C++ Standards35. C++1136. C++1437. C++1738. C++20
Learn the basics of the C++20 language from scratch, no experience necessary. You'll work with expressions and statements, variables, libraries, arguments, classes, functions, memory handling, and much more. Each section is filled with real-world examples, exceptions, and common mistakes to avoid. Modern C++ for Absolute Beginners will teach you more than just programming in C++20. It will provide you with a set of skills in computer science, which will serve you if you ever decide to deepen your knowledge in computer science or learn another programming language.

The author will take you through writing a fully featured application for managing books in a big library. It will include users, encryption, database operations, a user interface, and more. Each chapter will add another layer to this program and by the end of the book the code will be complete and fully functional.

You will work with C++20 features and standards, yet you will also compare and take a look into previous versions of C++. You will do so with plenty of examples and real code writing to gain an even better level of understanding.

You will:

- Use the basics of C++: structures, variables, constants, ranges and lists, expressions, operators, and more
- Set up the Visual Studio development environment where you can write your own code
- Define functions, pointers, and references
- Discover object-oriented programming: classes and references, source location, objects, memory management, overflow, and more, using the most advanced C++ features
- Employ best practices in managing and controlling program workflow, multitasking, and more
- Program using lambda, modules, inheritance, polymorphism, smart pointers, templates, contracts, STL, concepts, and exceptions
- Debug your code to ensure your applications run as expected
DNB DDC Sachgruppen

Noch nicht erschienen

35,30 €
inkl. 7% MwSt.
Vorbestellen