While debugging a C program in Visual Studio 2008, is it possible somehow to get the siz开发者_StackOverflow社区e of variables (in bytes)?
P.D. Of course I can print sizeof(var) for each of them
You can use the Immediate Window to evaluate sizeof(...)
or any other expression while debugging.
精彩评论