当前位置:网站首页>Learn to view object models with VisualStudio developer tools
Learn to view object models with VisualStudio developer tools
2022-06-22 10:26:00 【codexixi】
Learn to use VisualStudio Developer tools view the object model
First of all, let's show The code used for this test .
#include <iostream>
using namespace std;
class Father
{
public:
int m_A;
protected:
int m_B;
private:
int m_C;
};
class Son : public Father
{
public :
int m_D;
};
void test01()
{
cout << "Son Class occupies memory of :" << sizeof(Son) << endl;
}
int main()
{
test01();
return 0;
}
First step : Look for tools in the start menu
My name is , Translation into Chinese should be VS 2022 Developer command prompt for 
Open it as follows :
The second step : Find the location of your project
Such as my 
Then there will be Open the folder you're in (O) This option , Click on this.


Input dir View the folder below 
The third step : Enter very critical commands
The grammar is cl /d1 reportSingleClassLayout Class name File item name 
enter , The final effect is as follows :
边栏推荐
- Who says PostgreSQL has no reliable high availability (2)
- Three months to successfully "turn over" the software project!
- 代碼簽名證書一旦泄露 危害有多大
- From in MySQL_ Unixtime and UNIX_ Timestamp processing database timestamp conversion - Case
- 学会用VisualStudio开发人员工具查看对象模型
- SQL statement of final examination for College Students
- 前 AMD 芯片架构师吐槽,取消 K12 处理器项目是因为 AMD 怂了!
- Should the theme of the IDE be bright or dark? Here comes the ultimate answer!
- 扎克伯格最新VR原型机来了,要让人混淆虚拟与现实的那种
- C language to write a two-way linked list
猜你喜欢

Encryption market plummeted, Seth triggered a new round of concern

Xidian AI ranked higher than Qingbei in terms of AI major, and Nantah ranked first in China in terms of Software Science in 2022

Solend abolishes the proposal to "take over the giant whale" and liquidates the "bomb"

Zero‐Copy API

不要再傻傻分不清 hash、 chunkhash 和 contenthash 啦

The data intelligence infrastructure upgrade window is approaching? See Chapter 9 how Yunji dingodb breaks through data pain points

Byte 3: do you know what Eureka is?

Signal integrity (SI) power integrity (PI) learning notes (XXIV) differential pair and differential impedance (IV)

It was exposed that more than 170million pieces of private data had been leaked, and Xuetong responded that no clear evidence had been found

【科普】一文弄懂监督式学习、非监督式学习以及强化式学习
随机推荐
Force buckle 1108 IP address invalidation
追更这个做嵌入式的大佬
TikTok 宣布将数据存储于 Oracle 服务器!
[deep learning] great! The new attention makes the model 2-4 times faster!
Opencv人脸识别之发送QQ邮箱
Vs2022 connecting to SQLSERVER database tutorial
Byte 3: do you know what Eureka is?
Kirin software and Geer software focus on the development of network data security
SQL statement of final examination for College Students
【jenkins】shell脚本调jenkins api接口
10-2xxe漏洞原理和案例实验演示
每日一题day5-1636. 按照频率将数组升序排序
[机缘参悟-28]:鬼谷子-内揵篇-保全自己,说服上司
From in MySQL_ Unixtime and UNIX_ Timestamp processing database timestamp conversion - Case
数据库课程虚拟教研室负责人杜小勇:立足国产数据库重大需求,探索课程体系建设新模式
神经网络训练trick总结
蓝牙、wifi、zigbee和lora、NB-lot,通话信号,网络信号4G
How harmful is the code signature certificate once it is leaked
Backbone! Youxuan software was selected as one of the top 100 digital security companies in China in 2022
【backtrader源码解析51】observers中七个文件源代码简单解读(枯燥,仅供参考)