« first day (230 days earlier)      last day (2623 days later) » 

12:04 AM
I may be missing something simple, but is there no trivial standard way to just capture when a user presses a key? I've seen stuff like allegro, but that seems like overkill
in JS, it would just be window.addEventListener( 'keydown', function( e ){ /* whatever with e */ } );
 
12:26 AM
I guess C++ doesn't come with any standard method for that, and it's implementation/OS/environment specific
 
 
1 hour later…
1:34 AM
@towc Yes there is no "standard" way except for those that deal with console access. But there are many libraries that abstract away OS specific details. My favorite one is Qt.
If you use LTO careful you can reduce your cross-platform rootkit to under 2 megabytes.
 
 
7 hours later…
8:48 AM
Is OOP good for compiler or for humans only ? :P
 
mainly for humans. It's somewhat of a handicap for the compiler, but extremely worth it
 
Oh I see !
 

« first day (230 days earlier)      last day (2623 days later) »