That's actually pretty difficult. Seems appropriate for an "over your head" kind of project.
/dpt/ - Daily Programming Thread
fuck dude good luck! that sounds really interesting
Wait, does Jow Forums actually not follow tab-stops when expanding tabs, and just replaces it with 4 spaces?
That's pretty fucking shit. I don't know how I've never noticed that before.
Put it on github so I can use it.
>tfw it is this easy to make windows ignore windows key
Also ignores alt+tab and a bunch of other key strokes, only ctrl+alt+delete still worked.
LRESULT CALLBACK MyTaskKeyHookLL(int nCode, WPARAM wp, LPARAM lp)
{
return 1;
}
SetWindowsHookEx(WH_KEYBOARD_LL, MyTaskKeyHookLL, NULL, NULL);
Brainlet here. I'm getting confused by eager evaluation vs lazy evaluation in practice?
You link says it goes like
void qsort(void *base, size_t nmemb, size_t size,
int (*compar)(const void *, const void *));
The const part says that the compare function can't alter data by itself.
awesome
that's a cool idea, and should be doable... if your's is web/browser based there out to be javascript frameworks for slideshows
The rule is: const qualifies whatever is on the right, unless there is nothing there; in which case it qualifies whatever is on the left.
char *const means the pointer cannot be changed, but the pointed to value can
const char * means what is pointed to cannot be changed, but the pointer can
const char *const means that neither can be changed.
Worth noting that const qualifiers don’t mean the value can’t be changed elsewhere on the program, only that it the user of the pointer cannot change it.
ok