Results for the following term searched:

More Stories

Cover Image for Unnamed/anonymous namespaces vs. static functions

Unnamed/anonymous namespaces vs. static functions

updated a few hours ago
namespaces

# Unnamed/anonymous namespaces vs. static functions: Breaking Down the Mystery šŸ•µļøā€ā™€ļø Have you ever stumbled upon the concept of unnamed (anonymous) namespaces while exploring the world of C++ programming? You might have wondered why or when one should us

Matheus Mello
Matheus Mello
Cover Image for Parse (split) a string in C++ using string delimiter (standard C++)

Parse (split) a string in C++ using string delimiter (standard C++)

updated a few hours ago
parsingsplit

šŸ“ Title: Easy String Parsing in C++: Splitting with a Custom Delimiter Introduction: šŸ‘‹ Hey there, tech enthusiasts! In this blog post, we'll dive into a common issue that many programmers face when attempting to split a string in C++. We'll focus on how

Matheus Mello
Matheus Mello
Cover Image for GCC -fPIC option

GCC -fPIC option

updated a few hours ago
gcc

# šŸŽÆ GCC -fPIC Option: A Beginner's Guide to Position-Independent Code Have you ever come across the GCC `-fPIC` option and wondered what it does? šŸ¤” Don't worry; you're not alone! In this blog post, we'll break down this commonly confusing piece of jargo

Matheus Mello
Matheus Mello
Cover Image for What is the most effective way for float and double comparison?

What is the most effective way for float and double comparison?

updated a few hours ago
algorithmfloating-pointoptimization

# Comparing Float and Double Values: The Ultimate Guide šŸŒŸ Hey there, tech enthusiasts! šŸ‘‹ Are you hitting your head against the wall while trying to find the most effective way to compare two `double` or `float` values? šŸ¤” Don't worry, we've got you co

Matheus Mello
Matheus Mello
Cover Image for What does int argc, char *argv[] mean?

What does int argc, char *argv[] mean?

updated a few hours ago
command-line-argumentsparameters

šŸ–„ļøšŸ’” Understanding int argc, char *argv[] in C++ šŸ’”šŸ–„ļø So, you've probably seen this strange line of code in C++ programs before: `int main(int argc, char *argv[])`. It often pops up in many C++ IDEs and compilers, leaving you wondering what it means and

Matheus Mello
Matheus Mello
Cover Image for Why is iostream::eof inside a loop condition (i.e. `while (!stream.eof())`) considered wrong?

Why is iostream::eof inside a loop condition (i.e. `while (!stream.eof())`) considered wrong?

updated a few hours ago
iostream

šŸ“ **Title: Why Using iostream::eof in a Loop Condition is Considered Wrong?** **Introduction:** Do you often find yourself using `while (!stream.eof())` when reading data from a file using C++? šŸ“šāœļø It's a common practice, but did you know that it is con

Matheus Mello
Matheus Mello
Cover Image for What exactly is nullptr?

What exactly is nullptr?

updated a few hours ago

šŸ“šŸ”„ Blog Post: Introducing nullptr - C++11's Superior Null Pointer šŸ§ Are you confused by the new C++11 feature called nullptr? šŸ¤” Don't worry, you're not alone! This latest addition to the language can be a bit tricky to grasp, but fear not, we're here

Matheus Mello
Matheus Mello
Cover Image for How do I find the length of an array?

How do I find the length of an array?

updated a few hours ago
arrays

# How to Find the Length of an Array? šŸ“ Are you struggling to figure out the length of an array? Do you find yourself lost in a maze of code, trying to determine whether you've reached the end of the array or not? Don't worry, my friend! In this blog pos

Matheus Mello
Matheus Mello
Cover Image for What are Aggregates and PODs and how/why are they special?

What are Aggregates and PODs and how/why are they special?

updated a few hours ago
aggregate

# Aggregates and PODs: Unlocking the Secrets Have you ever come across the terms "Aggregates" and "PODs" while diving deep into the world of C++? šŸ¤” Don't worry! In this blog post, we'll demystify these concepts and uncover why they're so special. Get rea

Matheus Mello
Matheus Mello
Cover Image for Are the days of passing const std::string & as a parameter over?

Are the days of passing const std::string & as a parameter over?

updated a few hours ago

šŸ“ Are the Days of Passing const std::string & as a Parameter Over? šŸ¤” Have you heard the recent talk by Herb Sutter discussing whether the days of passing `const std::string &` as a parameter are over? šŸŽ™ļø If not, let me bring you up to speed! šŸ‘‰šŸ¼ Dur

Matheus Mello
Matheus Mello