VS 2010可以自动检查/更新头文件吗? [英] Can VS 2010 check/update header files automatically?
问题描述
这是我的问题:可以VS 2010检查和更新头文件在C ++代码自动?并且可以VS 2010自动从头文件生成一个cpp文件,从而节省您从头文件中复制函数定义的时间?我的意思是,它可以说,没有实现一些方法,并从头文件中发现的声明生成一个空存根?
That's pretty much my question: can VS 2010 check and update header files in C++ code automatically? And can VS 2010 automatically generate a cpp file from a header file, saving you the time to copy the function definitions from the header file? I mean, can it figure that there's no implementation for some method and generate an empty stub from the declaration found in the header file?
谢谢!
CFP。
Thanks!
CFP.
推荐答案
Visual Studio C ++实现中不存在此功能。对头文件的更改必须手动传播到源文件,反之亦然。
No this feature does not exist in the Visual Studio C++ implementation. Changes to a header file must be manually propagated to the source file and vice versa.
这篇关于VS 2010可以自动检查/更新头文件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!