Skip to content

KInGATiLLa/CPP-20-STL-Cookbook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++20 STL Cookbook

C++20 STL Cookbook

This is the code repository for C++20 STL Cookbook, published by Packt.

Leverage the latest features of the STL to solve real-world problems

What is this book about?

Fast, efficient, and flexible, the C++ programming language has come a long way and is used in every area of the industry to solve many problems. The latest version C++20 will see programmers change the way they code as it brings a whole array of features enabling the quick deployment of applications. This book will get you up and running with using the STL in the best way possible.

This book covers the following exciting features:

  • Understand the new language features and the problems they can solve
  • Implement generic features of the STL with practical examples
  • Understand standard support classes for concurrency and synchronization
  • Perform efficient memory management using the STL
  • Implement seamless formatting using std::format
  • Work with strings the STL way instead of handcrafting C-style code

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

int main() {    
    Frac f{ 5, 3 };    
    cout << format("Frac: {}\n", f);
}

Following is what you need for this book: This book is for intermediate to advanced C++ programmers who want to get the most out of the Standard Template Library of C++20, the newest version of C++. Basic knowledge of coding and C++ concepts is necessary to get started with this book.

With the following software and hardware list you can run all code files present in the book (Chapter 1-11).

Software and Hardware List

Chapter Software required OS required
1-11 GCC 11.2 Windows, Mac OS X, and Linux (Any)
1-11 LLVM/Clang 13.16 Windows, Mac OS X, and Linux (Any)
1-11 Microsoft C++ 19.32.31302 Windows, Mac OS X, and Linux (Any)

Related products

Get to Know the Author

Bill Weinman has been involved in technology since he built his first computer at age 16, in 1971. He's been coding in C and C++ since the early 1970s. He's written systems and applications for major clients, including NASA, Bank of America, Xerox, IBM, and the US Navy. Also an electronics engineer, he previously worked on the Voyager II spacecraft, audio amplifiers for SAE, and sound systems for Altec Lansing.

Since the mid 1990s, Mr. Weinman has focused on writing and teaching. His books and courses cover HTML, SQL, CGI, Python, and, of course, C and C++. An early contributor to online learning, his clear, concise writing has made his courses a popular feature on lynda.com and LinkedIn Learning.

Follow Bill on his website at bw.org.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781803248714

About

C++ 20 STL Cookbook, published by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.3%
  • HTML 0.7%