To react on subject
I never abbreviate functions; I want to read them all so that when I read back the programming code in a month a year or 10 years it still makes sense to me without reading my remarks
To react on subject
I never abbreviate functions; I want to read them all so that when I read back the programming code in a month a year or 10 years it still makes sense to me without reading my remarks
C++OnSea 2025 SESSION ANNOUNCEMENT: Smart Pointers, Dumb Mistakes by Khushboo Verma
https://cpponsea.uk/2025/session/smart-pointers-dumb-mistakes
Register now at https://cpponsea.uk/tickets/
C++OnSea 2025 SESSION ANNOUNCEMENT: Smart Pointers, Dumb Mistakes by Khushboo Verma
https://cpponsea.uk/2025/session/smart-pointers-dumb-mistakes
Register now at https://cpponsea.uk/tickets/
I would claim that I'm *very* experienced with #programming in #C. But still, C gets annoyingly weird when it comes to #pointers *to* #arrays.
Does the following code look sober to you? 🤔 (My compiler doesn't complain)
Especially interested in the highlighted line, but also the block above trying to expand the array ...
Context: I started work on a generic/configurable rate-limiter to add to #swad.
Stupid Smart Pointers in C
http://blog.kevinalbs.com/stupid_smart_pointers
#HackerNews #Stupid #Smart #Pointers #in #C #C #Programming #SmartPointers #SoftwareDevelopment #HackerNews
🎩🧐 Behold, the riveting #sequel to 'Memory Management'—as if the first wasn't thrilling enough! Brace yourself as our intrepid author attempts to make #C++ sound like it's not just C with a monocle. 🥱🔧 Spoiler: It's still about #pointers, and no one's impressed.
https://educatedguesswork.org/posts/memory-management-2/ #MemoryManagement #Programming #TechHumor #CodingLife #HackerNews #ngated
Exploring the Uno Platform: Handling Unsafe Code in Multi-Target Applications
#UnoPlatform #CSharp #UnsafeCode #CrossPlatformDevelopment #DotNET8 #MultiTargetUI #MobileDevelopment #DesktopApplications #WebApplications #MemoryManagement #Pointers #AllowUnsafeBlocks #VisualStudio #ARMProcessors #X64Processors
TIL: C array subscript operators are handled in such a way that `letters[i]` is equivalent to `*(letters + i)` and because addition is commutative, that expression is identical to `*(i + letters)`, which means that `i[letters]` is the same as `letters[i]`.
```
#include <stdio.h>
#include <stddef.h>
int main() {
char letters[3] = "abc";
size_t i = 2;
printf("letters: %p\n", (void *)&letters);
printf("i[letters] (%p): %c\n", (void*)&(i[letters]), i[letters]);
printf("letters[i] (%p): %c\n", (void*)&(letters[i]), letters[i]);
return 0;
}
```
Which outputs:
```
letters: 0x7ffc68ec7bb9
i[letters] (0x7ffc68ec7bbb): c
letters[i] (0x7ffc68ec7bbb): c
```
Mind blown... :neofox_floof_explode:
#til #clang #pointers #programming
👇 Falsehoods programmers believe about null pointers
https://purplesyringa.moe/blog/falsehoods-programmers-believe-about-null-pointers/
#programming #software #pointers #zero #null #errors #billiondollarmistake
Everything you need to know about pointers in C
A comprehensive guide to pointers in programming. Learn their functionality, usage, and role in memory management with clear examples.
STM32 Tutorial #38 - DEMYSTIFYING C Arrays and Strings
Digging more into C pointers, arrays and strings.
#stm32 #c #arrays #pointers #strings #stm32world
https://www.youtube.com/watch?v=FaooNo83jNQ
STM32 Tutorial #35 - DEMYSTIFYING C Pointers (and Variables)
In this video we will be diving into C variables, pointers and function call parameters.
#STM32 #Tutorial #Video #pointers #c #stm32world
https://www.youtube.com/watch?v=Ip2J2jxZYaA
Discover the Unique World of PUNKX.org Card Games
PUNKX.org is a hub for intellectually stimulating and entertaining card games, perfect for those who love programming, problem-solving, or just a good challenge.
Read More: https://machaddr.substack.com/p/discover-the-unique-world-of-punkxorg
#Programming #Cards #Game #Pointers #Encode #Decode #Punkx #UNIX #Linux #OpenSource #Computer #Science
I'm unraveling an Unreal Engine editor crash bug.
When the crash happened, the editor got confused internally between 2 characters. One has a set of pointers that the other does not.
When the game starts, and it's time to head to work, a vendor instead sprints to (0,0,0), and the log says one of those pointers is missing. It is not. It is missing in the other character because they are of 2 different base classes, and it doesn't have those pointers. That character with the "missing" pointer was once spawned in the game, but not as a vendor. What they have in common is the same skeletal meshes and animation blueprints.
Somewhere, somehow, it thinks both skeletal meshes use the vendor base class. Uh... no.
I saw the confusion when I was deleting the location markers. It showed both characters were using the location marker that it can't find when the game is running. Uh... no again.
About to delete the character it's confused about. Not the vendor. Yet. I may delete both of them and start over. If this breaks it all, well, thank goodness for backups.
Three Libraries for the Python-kings under the ML sky,
Seven for the C++-lords in their halls of hackerone,
Nine for Mortal Frontenders doomed to DROP BY,
One libc on his dark throne;
In the Land of Pointers where the void * lie.
One Library to rule them all, one Library to find them,
One Library to bring them all, and in the pointer arithmetics bind them;
In the Land of Pointers where the void * lie.
Rust 101 - 46: Exercises for module F (q1)
https://video.infosec.exchange/videos/watch/60f7c162-33b6-402d-b22a-a49436e8aa29
Dive into the world of pointers in C programming! Learn how to manage memory, use pointer arithmetic, and implement dynamic allocation. Boost your coding skills and write more efficient C programs. #CProgramming #Pointers
https://teguhteja.id/pointers-in-c-programming-unleashed-mastering-memory-management/
Dive into the world of pointers in C programming! Discover how to harness memory addresses, declare pointers, and use dereferencing for powerful code. Elevate your skills with practical examples and exercises. #CProgramming #Pointers
https://teguhteja.id/pointers-in-c-programming-mastering-memory-manipulation/