Waitrud Weber’s blog

things and reminders for memories

3d: windows-make: The way we are.

malloc:
int 4 bytes:
int* 8 bytes:

 

*(width) x (height)

 

Lesser is well on the memory:
On the picture grid, when we puls 1 as (+width) if we use the single array.

 

willinglytranslate.blogspot.com

 

The differnces of Creation of buffer:
*******
*******
*******
*******
*******
*******

 

+******
+******
+******
+******
+******
+******

 

+: 8 bytes

*: 4 bytes

*
All address we can print is expressed as a memoried number as long when we print it if we recognised the number as 4 increased like the below.

01: 005A0FC8
02: 005A0FD2

We can print it as size of buffer, so we think, the above is right.