Blog
Page 633 of my articles, tutorials, and thoughts
Latest Articles
What is the LD_PRELOAD trick?
π Blog Post: Demystifying the LD_PRELOAD Trick: Unleashing the Power of Symbols π Introduction: --------------------- π Hey Tech Enthusiasts! Have you ever stumbled upon the mysterious term "LD_PRELOAD trick" while exploring the programming world? π I
How do I print the full value of a long string in gdb?
ππ¨οΈ **Printing the Full Value of a Long String in GDB** Are you a developer trying to debug your C-string using GDB? π€ Worried that the string is being abbreviated and you're missing valuable information? π Don't worry! In this blog post, we'll addres
Is Fortran easier to optimize than C for heavy calculations?
# Is Fortran π easier to optimize than C β‘ for heavy calculations? Have you ever wondered if Fortran is truly faster than C when it comes to heavy calculations? π€ Well, let's dive into this topic and find out if the rumors are true! π‘ ## The Great Fo
How can I get a file"s size in C?
# π How to Get a File's Size in C π€ So, you're coding in C and wondering how to find the size of a file? Don't worry, we've got you covered! Knowing the size of a file is essential, especially if you want to allocate memory dynamically using `malloc()`
Difference between a Structure and a Union
# Understanding the Difference Between a Structure and a Union <blockquote "A structure and a union may seem similar, but they have important differences."\> Have you ever wondered about the difference between a `struct` and a `union`? π€ Don't worry; yo
How do you format an unsigned long long int using printf?
π How to Format an unsigned long long int Using printf? π§ So you have encountered an unexpected result while trying to print an `unsigned long long int` using `printf()`. You're not alone in this struggle! In this blog post, we'll address the common iss
How to allocate aligned memory only using the standard library?
# How to Allocate Aligned Memory Using the Standard Library β¨ Have you ever encountered a situation where you needed to allocate memory and ensure it is aligned to a specific boundary? If so, you're in the right place! In this blog post, we'll explore how
What are the barriers to understanding pointers and what can be done to overcome them?
π Breaking Down Pointers: Overcoming the Confusion ππ Are you feeling perplexed and scratching your head over the concept of pointers in C or C++? You're not alone! Pointers are notorious for causing confusion, not just for newcomers but also for seaso
How many levels of pointers can we have?
πππ Welcome to my tech blog! Today, we will dive deep into the world of pointers π and answer the intriguing question: "How many levels of pointers can we have?" π Let's start with a simple example: ```c int a = 10; int *p = &a; ``` In this code sn
What is Linuxβs native GUI API?
ππ‘ **Welcome to my Tech Blog!** π Today, we're going to tackle a common but sometimes perplexing question in the Linux world: What is Linux's native GUI API? π₯οΈ As a Linux user or enthusiast, you may have come across this query before, and it's time