开发者

Is it possible to get the size of a variable in Visual Studio?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜