开发者

Know the address of a variable in Visual Studio

I am starting to learn to debug C programs with Visual Studio 2008. When running in debug mode, how is it possible to know the address of a initialized variable? I choose to watch it but can only know about the value.开发者_如何学Go Thanks


You can type in a & in front of the variable, which will display it's address.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜