The difference between const and define in C language

I const use Const is the abbreviation of constant, which means "constant". The things modified by const are subject to mandatory protection, which can prevent accidental changes and improve the robustness of the program. So many C + + programming books suggest: "Use const whenever you need". 1.const modifier variable #inc ...

Posted by skyer2000 on Mon, 21 Feb 2022 14:57:47 +0100

[UE4 C + +] realize character attack

Effect display Using animated montage to realize character attack After pressing the left key, the character will attack: Random output attack animation. Create animated Montage Insert our animation into it: Right click and click the new montage section: Click Preview in the Sections section to divide it into multiple Sections: Pull ...

Posted by prueba123a on Thu, 30 Dec 2021 02:10:27 +0100

Windows driver development learning record - string suffix matching in kernel mode

1. Premise environment Recently, the system learning driver development, want to do a basic system loading driver filtering, which encountered the problem of string matching, record it. 1.1. Create callback using PsSetLoadImageNotifyRoutine NTKERNELAPI NTSTATUS PsSetLoadImageNotifyRoutine( _In_ PLOAD_IMAGE_NOTIFY_ROUTINE NotifyRoutine); ...

Posted by elindithas on Sun, 19 Dec 2021 19:35:07 +0100

Teach you how to make a keyboard recorder with SetWindowsHookEx

"Wuji, how much do you remember what I taught you?" "Master Hui, I only remember more than half." "And now?" "There is less than half left." "And now?" "I've forgotten everything!" "OK, you can go!" Envy Zhang Wuji, forget his martial arts and defeat the enemy; I forgot my ...

Posted by fahrvergnuugen on Sat, 20 Nov 2021 14:09:57 +0100