Results for the following term searched:
More Stories
What"s the difference between __PRETTY_FUNCTION__, __FUNCTION__, __func__?
# What's the difference between __PRETTY_FUNCTION__, __FUNCTION__, __func__? If you are a beginner in C++ programming, chances are you have come across the terms `__PRETTY_FUNCTION__`, `__FUNCTION__`, and `__func__` while reading code or researching onlin

how to use #ifdef with an OR condition?
# How to Use #ifdef with an OR Condition? š¤ Having trouble setting an OR condition in the `#ifdef` directive? No worries, we've got you covered! In this blog post, we'll help you understand the proper way to use the `#ifdef` directive with an OR conditio

How can I autoformat/indent C code in vim?
# Autoformatting/Indenting C code in Vim š So, you've come across some messy C code and you want to bring it back to its pristine, well-indented glory in Vim? Fear not! In this blog post, we'll explore some common issues related to autoformatting C code

Is bool a native C type?
š **Title: Bool in C: Unraveling the Mystery** š· Image: [Illustration of a C code snippet with a question mark](image-link) Are you puzzled by the presence of `bool` in the Linux kernel code? You might be wondering, isn't `bool` a C++ type? š¤ Don't wo

How to achieve function overloading in C?
# Achieving Function Overloading in C: A Guide to Bridging the Gap š¢ Calling all C programmers! Are you tired of not being able to achieve function overloading in C? Do you find yourself longing for the simplicity and flexibility of this powerful feature

Why do we need C Unions?
# Unraveling the Mystery Behind C Unions: Do You Really Need Them? š¤ Have you ever found yourself scratching your head, pondering the unseen powers of C unions? š¤·āāļø Fear not, tech aficionados! Today, we'll embark on an enlightening journey that will d

What"s the rationale for null terminated strings?
š **Title**: Understanding the Rationale for Null Terminated Strings š· **Image**: A confused emoji scratching its head --- **Introduction** As a fan of C and C++, have you ever wondered why null terminated strings are chosen over length prefixed stri

What do pty and tty mean?
š **What do pty and tty mean? A guide for tech enthusiasts!** š Do you often come across terms like `pty` and `tty` in open source projects and get confused about their meanings and differences? Well, fret not! In this blog post, we will break down thes

Why does NaN - NaN == 0.0 with the Intel C++ Compiler?
š **Why does NaN - NaN == 0.0 with the Intel C++ Compiler?** We've all heard of NaNs (Not a Number), but do you know how they propagate in arithmetic operations? š¤ Well, if you're curious about this behavior, you're in the right place! In this blog post

Why does glibc"s strlen need to be so complicated to run quickly?
š **Why does glibc's strlen need to be so complicated to run quickly?** When it comes to optimizing code for performance, sometimes simplicity is not enough. The glibc's strlen function may appear complex at first glance, but there are valid reasons behi
