The Unfinished Files of Celestial Code-Artistry
I am Chad Estioco. I love reading books and building things from the ground up.
I am an amateur (i.e., hobby-driven) photographer and typographer. I am also an enthusiast of backyard astronomy.
I love to try out different sports but I mainly practice Taekwondo.
More about me? Check-out the About page.
News from {kode.play();}
Getting an Array’s Size in C
Wed, 16 May 2012 16:47:20 +0000
Whenever I code in C, one of my biggest annoyances is that there is no built-in function for determining an array’s size. So I either resort to hard-coding the maximum size the arrays my program will use (which is a waste of memory and is inflexible) or I allocate arrays dynamically (which is cumbersome). When I [...] more

