Visual Studio 2022 使用监视窗口查看变量的地址

Visual Studio 2022 使用监视窗口查看变量的地址

通过在“监视”窗口中,填写变量的取地址表达式 &var ,然后按 Enter 键以确认,从而在调试时来查看变量的地址。

References:

举例:

address.png

posted @ 2022-08-13 15:30  ltimaginea  阅读(635)  评论(0编辑  收藏  举报