Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Debunking C++ Myths
  • Table Of Contents Toc
Debunking C++ Myths

Debunking C++ Myths

By : Alexandru Bolboaca, Ferenc-Lajos Deák
5 (1)
close
close
Debunking C++ Myths

Debunking C++ Myths

5 (1)
By: Alexandru Bolboaca, Ferenc-Lajos Deák

Overview of this book

Think you know C++? Think again. For decades, C++ has been clouded by myths and misunderstandings—from its early design decisions to misconceptions that still linger today. Claims like "C++ is too hard to learn" or "C++ is obsolete" are often rooted in some truth, but they are outdated and fail to capture the language’s ongoing evolution and modern capabilities. Written by industry veterans with over 40 years of combined experience, this book uncovers the myths, exploring their origins and relevance in the context of today’s C++ landscape. It equips you with a deeper understanding of advanced features and best practices to elevate your projects. Each chapter tackles a specific misconception, shedding light on C++'s modern features, such as smart pointers, lambdas, and concurrency. You’ll learn practical strategies to navigate common challenges like code portability and compiler compatibility, as well as how to incorporate modern best practices into your C++ codebase to optimize performance and future-proof your projects. By the end of this book, you’ll have a comprehensive understanding of C++'s evolution, equipping you to make informed decisions and harness its powerful features to enhance your skills, coding practices, and projects.
Table of Contents (15 chapters)
close
close

The main() function

When we took up C++ in school, or maybe at university, on our first C++ course, we were told by our teacher: “Dear fellows, here’s the main function: void main(void). That’s where your program will start.” That’s it.

Chapter done – turn the pages and see you in the next one.

However, this statement isn’t true. I wrote void main(void) just to wake your curiosity and put you in a state of alertness. At this point in their career, all C++ programmers should know that void main(void) is as far as standard C++ as Point Nemo is from the closest piece of dry land.

Oh – you’re still here! This means that you must have read the fine print. Excellent – we programmers should always pay attention to the finer details, such as how our application is loaded and executed in memory by the underlying operating system.

Since we live in a free world, we have the option to choose from several operating...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Debunking C++ Myths
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon