开发者

Know the address of a variable in Visual Studio

开发者 https://www.devze.com 2023-01-17 10:53 出处:网络
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

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

精彩评论

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