If I want to fake overflow the number here, can I do this return b - (INT_MAX - a)? If by "fake it…
if (a > 0 && b > INT_MAX - a) { ERROR: overflow happens } If I want to fake overflow the number he…
Then how can I check for it? Depends on operation. I showed example above for overflow check when …
For signed integers over/under-flow is undefined behavior Then how can I check for it? When castin…
6 and 7 in recent C++ versions have to do with strict aliasing which makes this kind of thing unde…
For unsigned integers overflow/underflow is defined behavior. It performs operation % 2**n. For si…
A couple of questions regarding undefined behavior and integer math in C/C++:Is overflow/underflow…
Version 2.0 have now been officially released, more details here:
The way that works is that debugger can look up virtual table pointer. That has a specific type - …
You might have a faster answer by asking in the handmade network discord in the remedybg section.
Hello, I am working with a codebase that heavily utilizes virtual inheritance, and my debugging ex…
This is the first time I post anything here in "Work-in-Progress" about C3, so it's going to be a …
It's been about one month since C3 0.5.3 (announcement) was released. Since then there has been qu…
Mór —
The larger the forum, the worse it is. Reddit is what you describe. This forum is one of the good …
An observation: I notice that by virtue of people being mostly anonymous, a curious effect occurs …
First off, I wanna make it clear I'm aware this is probably not in the cards for RemedyBG. That s…
Mór —
I can't say how you do it in raylib, but this is a pretty good resource for pathfinding.
Well hello there. I was wondering how one would go about tile or grid based movement in raylib. to…
RemedyBG 0.3.9.8 is now available for download. Improved speed of command-line driver due to a bro…
Mór —
The AI gen art looks great. How you made it all in the same style, made me think you used a human …
As I was sure it happened on any OpenGL application that went fullscreen. I just created the small…
Thanks for the reply. I feel like solving toggling from fullscreen window away with DXGI swap chai…
Yeah, that's fair, AI is controversial and there are many aspects to consider. I am not sure where…
I feel like solving toggling from fullscreen window away with DXGI swap chain integration with GL …
I recently changed graphics card for a AMD RX580 which is quite old, but a bit better than the NVi…
Welcome. Don't hesitate to also join the discord server (link at the top of the page) if you'd lik…
Some screenshots and a video: Screenshot at 2024-01-23 20-47-54.png Screenshot at 2024-01-23 20-48…
Hi, it's my first post here! I found this community trough Raylib and was impressed by the manifes…
The sitcom ambiance of the 90s (I think) is well done. I don't like laugh tracks and there was a l…
Hi, I'm a long time user of the handmade network and was looking for a job. I have 5+ years profes…