We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
Handmade Network»Feed
Mārtiņš Možeiko
What is a word and how big is it? In Win32, there's a WORD type of 16 bytes. In Windows WORD is 16…
»
longtran2904
Yes, that's correct. uint8/int8 are exactly 8-bit wide types. How many bits are in "char" type is …
»
Mārtiņš Možeiko
Are there similar flags on MSVC or Clang? Clang has most of gcc flags. Not all of them are impleme…
»
hiddenfrog
In this new version I have a problem: "The initial directory used in the file open dialog for comm…
»
longtran2904
Yes, those flags are reliable (aside occasional compiler bugs). Afaik whole linux kernel is compil…
»
x13pixels
RemedyBG 0.3.9.9 is now available for download. Added a toggle "Keep Location Centered" to the dis…
»
Mārtiņš Možeiko
Yes, those flags are reliable (aside occasional compiler bugs). Afaik whole linux kernel is compil…
»
longtran2904
Compilers do not have "spec" in "C spec" of way. They have behavior that is different from version…
»
Mārtiņš Možeiko
If I want to fake overflow the number here, can I do this return b - (INT_MAX - a)? If by "fake it…
»
longtran2904
if (a > 0 && b > INT_MAX - a) { ERROR: overflow happens } If I want to fake overflow the number he…
»
Mārtiņš Možeiko
Then how can I check for it? Depends on operation. I showed example above for overflow check when …
»
longtran2904
For signed integers over/under-flow is undefined behavior Then how can I check for it? When castin…
»
ratchetfreak
6 and 7 in recent C++ versions have to do with strict aliasing which makes this kind of thing unde…
»
Mārtiņš Možeiko
For unsigned integers overflow/underflow is defined behavior. It performs operation % 2**n. For si…
»
longtran2904
A couple of questions regarding undefined behavior and integer math in C/C++:Is overflow/underflow…
»
@Mattias_G
Version 2.0 have now been officially released, more details here:
»
Mārtiņš Možeiko
The way that works is that debugger can look up virtual table pointer. That has a specific type - …
»
Simon Anciaux
You might have a faster answer by asking in the handmade network discord in the remedybg section.
»
vegust
Hello, I am working with a codebase that heavily utilizes virtual inheritance, and my debugging ex…
»
Christoffer Lernö
This is the first time I post anything here in "Work-in-Progress" about C3, so it's going to be a …
»
Christoffer Lernö
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 …
»
Christoffer Lernö
An observation: I notice that by virtue of people being mostly anonymous, a curious effect occurs …
»
lovey01
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.
»
What_Doth_Life
Well hello there. I was wondering how one would go about tile or grid based movement in raylib. to…
»
x13pixels
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 …
»
Simon Anciaux
As I was sure it happened on any OpenGL application that went fullscreen. I just created the small…
»
Simon Anciaux
Thanks for the reply. I feel like solving toggling from fullscreen window away with DXGI swap chai…
»