Besides calling ChaiScript functions from C++. You can also access global variables from C++. Global Variables in ChaiScript Unlike most languages, where weather a variable is global or not is defined by if the variable exists in the root scope. Such as the following in C++: ChaiScript uses the global keyword to specify if a variable... Continue Reading →
Introduction to SSHFS – the *best* way do transfer files between your PC and you when you are outside and in emergency
Sometimes when I'm in a conference of in a meeting. I need some files that is on my PC but not on my laptop to run my demo program. There's no way I could run back home or to my lab to grab them. And the only thing I have on my PC running(running Linux)... Continue Reading →
Building sfeMovie on MSYS2 – A Hacky Way
I'm working on a project to automatically generate Groove Coaster beat maps(?) using machine learning. To gather traning data. I need a desktop application that plays video of other's playing Groove Coaster and I and my friend pressing the appropriate button on a DS4 controller. Getting DS4 button press is easy. SFML has that handled.... Continue Reading →
Programming in C++ without if/else/for/while/etc..
Recently on of my friends challenges me to write a game in C++ without using any branching and looping expressions. It's really not difficult at all. I could write a game in C and compile it with the M/o/Vfuscator then disassemble it, put all the assembly instructions into my C++ code. Bobs your uncle, challenge done. But what's the... Continue Reading →
Recent Comments