SShubhaminbooleanbug.hashnode.dev·Dec 20, 2022 · 1 min readGame Programming Using CIn the following series of blogs, I will show game programming is done using C programming. SDL is API used for game development in C.SDL is used in C but it is object-oriented, yes it is strange that C is not object-oriented but SDL which API for C ...00
SShubhaminbooleanbug.hashnode.dev·Oct 28, 2022 · 1 min readClimbing stairs using DPI started interview prep playlist of leetcode called blind - 75 and took Dynamic programming topic for solving and came across this problem climbing stairs Logic is simple .Let us take an example n = 1 means there is 1 stair and number of steps requ...00
SShubhaminbooleanbug.hashnode.dev·Oct 27, 2022 · 2 min readSubroutines1.What is subroutine? => Subroutine is repeatative block of code for example sort function. 2.Why and how we use subroutine? => We place this repeatative code somewhere in memory and whenever we require that code we branch or jump to that code using ...00
SShubhaminbooleanbug.hashnode.dev·Oct 7, 2022 · 1 min readAssembly Crash CourseCompilers convert C code into Instructions HEAP Whenever you use malloc or calloc or global or static variable we use the memory of heap Registers Registers are special memory containers present in CPU. There are general purpose registers (eax,ebx,e...00
SShubhaminbooleanbug.hashnode.dev·Oct 7, 2022 · 2 min readHow functions work in low level?Whenever we call function there is big hand of low level in this process.First address where this code of function is present is calculated as immediate value or it is already given in general purpose register. For this blog let us assume that it is ...00