VC ++ 2010 Automatically create a stub or prototype method

I am new to C ++ and Visual Studio, coming from Java and Eclipse;

Say I'm writing a new method for a class. Is there a shortcut or a quick way to automatically add a prototype method to the class definition in the header?

Similarly, if I add a new prototype of the method to the header, is there a shortcut to create a method stub in the implementation?

+6
source share
1 answer

I do not know if VS 2010 has this feature, in previous versions it was not. But the problem can be solved by third-party extensions. Visual Assist X contains the Create Declaration and Create Implementation commands.

+5
source

Source: https://habr.com/ru/post/886453/


All Articles