Can VS 2010 check/update header files automaticall

2019-06-25 20:05发布

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条回答
干净又极端
2楼-- · 2019-06-25 20:22

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.

查看更多
登录 后发表回答