Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17625

data storage

$
0
0

when data is stored in RAM in  a c program is it stored without enclosing data type tags? (i.e. as opposed to how it would be stored in a html or xml document )

like if I have 

struct human 
{
 int hand;
 int foot;
 int ear;
};
human Friends[3];

  in memory that will end up as 

hand, foot, ear, hand, foot, ear,hand, foot, ear rather then

 human, hand, foot, ear,human, hand, foot, ear etc. 

 

 


Viewing all articles
Browse latest Browse all 17625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>