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.
HRose
oh boy, Xlib is a can of worms. The fact that is pollutes the namespace with things like "Window",…
»
Dawoodoz
This should take care of a few more cases by replacing the enum with sparse indices that are gener…
»
BernFeth
Hi guys, How should I make an event loop for a game using Xlib on Linux? I have tried using as so…
»
Dawoodoz
Nice! That takes care of synchronizing indices with data when you erase an element in the middle …
»
Dawoodoz
An important part of testing the usability and showing that it's not just a toy project is to actu…
»
Bastien
Hello, First of all, thank you so much for Remedy! I have not been programming c++ for long, so I …
»
HRose
Since C99, you can include a "designator" in array initialization literials. Missing entries will…
»
Dawoodoz
What you do is you define a macro that makes itself a number of calls to functions that are not d…
»
Jens
Save in particular is a bit tricky. Say you're editing with the hex view, you do a little edit her…
»
jstimpfle
I haven't seen a mention of a technique called X-macros, which I use frequently, and which covers …
»
John
That seems like a very well-thought and massive project. Hats off to you! I'm nowhere near the lev…
»
Dawoodoz
Yes, and you use function pointers instead of virtual calls so that data and actions are separate…
»
John
Oh, I see it supports multiple types. That's pretty cool! Would you mind sharing some more info ab…
»
Dawoodoz
In my table-driven language (Basic inspired), you simply write like this using pipes to separate …
»
John
I guess you're talking about something like this ("ID" is kind of the key of the record and you ac…
»
Dawoodoz
A collection of data entries. For table-driven programming, both rows and columns should be acces…
»
James Deeman
If anyone else stumbles across this I referenced the as it was more directly relevant to my code.
»
Mārtiņš Možeiko
What is "table" in C++?
»
James Deeman
Thank you very much for the links. I will do some reading and see if I can get my controller worki…
»
Jens
Everything seems to be working except that the lexer test crashes, but as it works I'm happy. It w…
»
Dawoodoz
Tables in C++ has always been quite ugly and error-prone with separate enums and arrays. Matching …
»
Mārtiņš Možeiko
Linux kernel soure code: Shows exactly how to identify controllers, parse incoming HID packets, e…
»
James Deeman
Can anyone point me to a site where I can find HID information for the usb XBOX 360 controllers? B…
»
Simon Anciaux
If you still need help with this, you might want to contact Allen directly on discord.
»
Artur
No problem! I'm glad it was useful, learning how to compose in such a short time must be daunting.…
»
Dawoodoz
The problem arises because you want to restore contrast rather than preserve the washed out colors…
»
Mārtiņš Možeiko
If you're using Visual Studio to run executable, then this was covered in Day 1:
»
Simon Anciaux
You need to set the working directory in the visual studio project properties.In the solution expl…
»
Tsuns
I made an account just to say thank you for doing this. I've wanted to understand font files for a…
»
Martijn Courteaux
Sounds very interesting, but I after reading what you wrote like 10 times, I still don't understa…
»