你好,
在visual studio 中,你可以按ctrl+F 快捷键打开查找对话框,然后输入你想要找的头文件名称和设置你的查找范围,在结果列表中,你可以知道哪些cpp 文件include 了该文件。
例如:我建了一个简单的win32程序,我想知道哪些cpp文件包含了stdafx.h:


We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.