Blog

Page 633 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for What is the LD_PRELOAD trick?
c#environment-variables

What is the LD_PRELOAD trick?

Published on September 2, 2023

πŸ“ 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

Cover Image for How do I print the full value of a long string in gdb?
c#debuggingstring

How do I print the full value of a long string in gdb?

Published on September 2, 2023

πŸ“πŸ–¨οΈ **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

Cover Image for Is Fortran easier to optimize than C for heavy calculations?
c#performance

Is Fortran easier to optimize than C for heavy calculations?

Published on September 2, 2023

# 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

Cover Image for How can I get a file"s size in C?
c#file

How can I get a file"s size in C?

Published on September 2, 2023

# πŸ“ 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()`

Cover Image for Difference between a Structure and a Union
c#

Difference between a Structure and a Union

Published on September 2, 2023

# 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

Cover Image for How do you format an unsigned long long int using printf?
c#printfsyntax

How do you format an unsigned long long int using printf?

Published on September 2, 2023

πŸ“ 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

Cover Image for How to allocate aligned memory only using the standard library?
c#memory-management

How to allocate aligned memory only using the standard library?

Published on September 2, 2023

# 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

Cover Image for What are the barriers to understanding pointers and what can be done to overcome them?
c#

What are the barriers to understanding pointers and what can be done to overcome them?

Published on September 2, 2023

πŸ“ 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

Cover Image for How many levels of pointers can we have?
c#

How many levels of pointers can we have?

Published on September 2, 2023

πŸ“πŸ“šπŸ”— 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

Cover Image for What is Linux’s native GUI API?
c#

What is Linux’s native GUI API?

Published on September 2, 2023

πŸ“πŸ’‘ **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