Blog

Page 283 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for How to find the size of an array (from a pointer pointing to the first element array)?
arraysc#

How to find the size of an array (from a pointer pointing to the first element array)?

Published on September 2, 2023

# How to Find the Size of an Array πŸ“ (from a Pointer Pointing to the First Element of the Array) So, you've come across this interesting question: How can you find the size of an array from a pointer pointing to the first element? πŸ€” ## The Context: πŸ“

Cover Image for Where do I find the current C or C++ standard documents?
c#

Where do I find the current C or C++ standard documents?

Published on September 2, 2023

# Where Do I Find the Current C or C++ Standard Documents? πŸ“š So, you're searching for the current C or C++ standard documents? You're not alone! Many developers face this common issue of finding reliable resources online. Don't worry, we've got you cover

Cover Image for The Definitive C Book Guide and List
c#

The Definitive C Book Guide and List

Published on September 2, 2023

# The Definitive C Book Guide and List: A Comprehensive Resource for Learning C Programming πŸ“šπŸ” Are you struggling to learn or improve your skills in the C programming language? Do online tutorials leave you feeling lost and confused? Look no further! In

Cover Image for What is the difference between NULL, "\0" and 0?
c#null

What is the difference between NULL, "\0" and 0?

Published on September 2, 2023

# Understanding NULL, '\0', and 0: What's the Difference? Have you ever come across the terms NULL, '\0', and 0 while programming in C? Do you find yourself puzzled by their subtle differences? Fear not! In this blog post, we'll unravel the mysteries and

Cover Image for Pointers in C: when to use the ampersand and the asterisk?
c#

Pointers in C: when to use the ampersand and the asterisk?

Published on September 2, 2023

πŸ“πŸ”—πŸ€”Discovering the Logic Behind Pointers in C: Breaking Down the Mystery of (&) and (*)πŸ”πŸ”ŽπŸ’‘ Are you new to the world of pointers in C and finding yourself slightly perplexed? Don't worry! We're here to help you make sense of those cryptic symbolsβ€”the

Cover Image for NumPy array is not JSON serializable
jsonpython

NumPy array is not JSON serializable

Published on September 2, 2023

Title: 🧩 Decoding the Mystery: Why is your NumPy Array not JSON Serializable? πŸ“¦ Introduction: Are you facing the frustrating error message 🚫 "array([ 0, 239, 479, 717, 952, 1192, 1432, 1667], dtype=int64) is not JSON serializable" πŸ€” when trying

Cover Image for How to portably print a int64_t type in C
c#

How to portably print a int64_t type in C

Published on September 2, 2023

# How to Portably Print an int64_t Type in C 😎 Are you working with the C99 standard and dealing with the int64_t type? Fantastic! But wait, are you struggling with printing these types portably without compiler warnings? Don't worry, we've got you cover

Cover Image for MIN and MAX in C
c#

MIN and MAX in C

Published on September 2, 2023

πŸ“ **Title**: Understanding MIN and MAX in C: Making Comparisons More Flexible and Type-Safe πŸ’ͺπŸ” πŸ‘‹ Hey there, tech enthusiasts! 😎 Welcome to my blog, where I decipher complex programming problems in a way that even the most confused coders can understa

Cover Image for Printing leading 0"s in C
c#printf

Printing leading 0"s in C

Published on September 2, 2023

# Printing Leading 0's in C: A Handy Guide πŸ‘¨β€πŸ’»πŸ”’ Do you need to print leading 0's in C, such as "01001" for a ZIP Code? πŸ“¬ While the number is stored as "1001", finding a good way to format it with leading 0's can prove to be a bit tricky. But fret not!

Blog | Matheus Mello