Modern C++ for Absolute Beginners
eBook - ePub

Modern C++ for Absolute Beginners

A Friendly Introduction to the C++ Programming Language and C++11 to C++23 Standards

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Modern C++ for Absolute Beginners

A Friendly Introduction to the C++ Programming Language and C++11 to C++23 Standards

About this book

Learn the C++ programming language in a structured, straightforward, and friendly manner. This book teaches the basics of the modern C++ programming language, the C++ Standard Library, and modern C++ standards, including C++23. No previous programming experience is required. 

C++ is a language like no other, surprising in its complexity, yet wonderfully sleek and elegant in so many ways. It is also a language that cannot be learned by guessing, one that is easy to get wrong and challenging to get right. To overcome this, each section is filled with real-world examples that gradually increase in complexity. Modern C++ for Absolute Beginners, Second Edition teaches more than just programming in C++23. It provides a solid C++ foundation to build upon. 

The author takes you through the C++ programming language, the Standard Library, and C++11 to C++23 standard basics. Each chapter is accompanied by the right amount oftheory and plenty of source code examples. You will work with C++23 features and standards, yet you will also compare and take a look into previous versions of C++. 

After reading this book, you'll be able to start programming in modern C++ standards. You will do so with plenty of relevant source code examples, freely available via a dedicated GitHub repository. 

What You Will Learn
  • Get Introduced to modern C++ in a friendly but effective way
  • Work with the basics of C++: types, operators, variables, constants, expressions, references, functions, classes, I/O, smart pointers, polymorphism, and more
  • Set up the Visual Studio environment on Windows and GCC on Linux, where you can write your own code
  • Declare and define functions, classes, and objects, and organize code into namespaces
  • Discover object-oriented programming: classes and objects, encapsulation, inheritance, polymorphism, and more using the most advanced C++ features
  • Employ best practices in organizing source code and controlling program workflow
  • Get familiar with C++ language do's and don'ts, and more
  • Manage the basics of lambdas, inheritance, polymorphism, smart pointers, templates, modules, contracts, concepts, and more

Who This Book Is For 

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

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Modern C++ for Absolute Beginners by Slobodan Dmitrović in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Cover
  2. Front Matter
  3. 1. Introduction
  4. 2. What Is C++?
  5. 3. C++ Compilers
  6. 4. Our First Program
  7. 5. Types
  8. 6. Exercises
  9. 7. Operators
  10. 8. Standard Input
  11. 9. Exercises
  12. 10. Arrays
  13. 11. Pointers
  14. 12. References
  15. 13. Introduction to Strings
  16. 14. Automatic Type Deduction
  17. 15. Exercises
  18. 16. Statements
  19. 17. Constants
  20. 18. Exercises
  21. 19. Functions
  22. 20. Exercises
  23. 21. Scope and Lifetime
  24. 22. Exercises
  25. 23. Classes – Introduction
  26. 24. Exercises
  27. 25. Classes – Inheritance and Polymorphism
  28. 26. Exercises
  29. 27. The static Specifier
  30. 28. Templates
  31. 29. Enumerations
  32. 30. Exercises
  33. 31. Organizing Code
  34. 32. Exercises
  35. 33. Conversions
  36. 34. Exceptions
  37. 35. Smart Pointers
  38. 36. Exercises
  39. 37. Input/Output Streams
  40. 38. C++ Standard Library and Friends
  41. 39. Exercises
  42. 40. C++ Standards
  43. 41. Projects
  44. Back Matter