Can VS 2010 check/update header files automatically?

可紊 提交于 2019-12-23 12:54:57

问题


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?

Thanks!
CFP.


回答1:


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.



来源:https://stackoverflow.com/questions/3764460/can-vs-2010-check-update-header-files-automatically

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!