Results for the following term searched:

More Stories

Cover Image for Why do we use the volatile keyword?

Why do we use the volatile keyword?

updated a few hours ago

## šŸŒŸ Unlocking the Mysteries of the Volatile Keyword šŸŒŸ Have you ever come across the "volatile" keyword in your code and wondered what it does and why people use it? šŸ¤” Well, you're not alone! This little keyword has sparked curiosity and confusion amon

Matheus Mello
Matheus Mello
Cover Image for What uses are there for "placement new"?

What uses are there for "placement new"?

updated a few hours ago
memory-management

# Unleashing the Magic of "Placement New" in C++ šŸŽ©āœØ Hey there, tech enthusiasts! Today we're going to explore the enchanting world of "placement new" šŸŖ„āœØ in C++. šŸ–„ļø ## What the heck is "placement new" anyway? šŸ¤” If you've ever wondered why you would n

Matheus Mello
Matheus Mello
Cover Image for What is the meaning of prepended double colon "::"?

What is the meaning of prepended double colon "::"?

updated a few hours ago
namespacessyntax

# What is the meaning of prepended double colon "::"? If you've stumbled upon code snippets with a mysterious prepended double colon (::), fear not! You're not alone in your confusion. In this blog post, we'll unravel the meaning behind this perplexing sy

Matheus Mello
Matheus Mello
Cover Image for How do I use arrays in C++?

How do I use arrays in C++?

updated a few hours ago
arraysmultidimensional-array

šŸ“ **Title:** A Beginner's Guide to Using Arrays in C++: Demystifying the Basics šŸ“Œ **Introduction:** Are you new to C++ and feeling overwhelmed by the concept of arrays? You're not alone! Even though arrays are a fundamental data structure in C++, they c

Matheus Mello
Matheus Mello
Cover Image for C++11 rvalues and move semantics confusion (return statement)

C++11 rvalues and move semantics confusion (return statement)

updated a few hours ago

# Understanding C++11 Rvalues and Move Semantics with Return Statements ## Introduction Are you struggling to understand rvalue references and move semantics in C++11? You're not alone! These concepts can be confusing, but fear not, we're here to help yo

Matheus Mello
Matheus Mello
Cover Image for What are copy elision and return value optimization?

What are copy elision and return value optimization?

updated a few hours ago
optimization

# The Ultimate Guide to Copy Elision and Return Value Optimization šŸ˜ŽšŸ”„ ## Introduction So, you've stumbled upon the fascinating world of copy elision and return value optimization. šŸŒŸ But what exactly are these terms, and what do they imply? šŸ¤” Don't wo

Matheus Mello
Matheus Mello
Cover Image for How does the compilation/linking process work?

How does the compilation/linking process work?

updated a few hours ago

šŸ“ **Blog Post: How Does the Compilation/Linking Process Work?** Hey there tech enthusiasts! šŸ‘‹ Have you ever wondered how your code magically transforms into an executable program? šŸ¤” Today, we're diving into the fascinating world of compilation and link

Matheus Mello
Matheus Mello
Cover Image for Is there any advantage of using map over unordered_map in case of trivial keys?

Is there any advantage of using map over unordered_map in case of trivial keys?

updated a few hours ago
dictionaryperformance

šŸ“ **Blog Post**: Map vs Unordered_map: Which One Is Better for Trivial Keys? šŸ“Ž **Introduction** Are you confused about whether to use `map` or `unordered_map` in C++ when dealing with trivial keys like `int` or `std::string`? Look no further! In this a

Matheus Mello
Matheus Mello
Cover Image for Use of "const" for function parameters

Use of "const" for function parameters

updated a few hours ago

## The Power of `const` for Function Parameters šŸ’Ŗ Have you ever wondered about the `const` keyword in function parameters? šŸ¤” Should you use it sparingly or go all-in and use it everywhere? šŸ¤·ā€ā™‚ļø Let's dive into this topic and explore the benefits, commo

Matheus Mello
Matheus Mello
Cover Image for Undefined reference to vtable

Undefined reference to vtable

updated a few hours ago
gcc

# šŸš§ Fixing the "Undefined reference to vtable" error šŸ› ļø <p>So you're building your C++ program, and suddenly you encounter the dreaded error message:</p> <blockquote> <p>undefined reference to 'vtable...</p> </blockquote> <p>You're probably wonderin

Matheus Mello
Matheus Mello