There is a .h file in it ~ 90 classes are defined. Classes are nested (nested class) into each other up to 3 times. It is necessary for each class to create constructors / destructors in the .cpp file. Is it possible to do it through any menu item / plugin in Visual Studio or in any other simple way without hammering it all in manually?

Some such definitions are needed:

UI::AchivementsLayout::AchivementsBackToMainMenuButton::AchivementsBackToMainMenuButton() { x=0.0f; y=0.0f } 
  • 3
    - If you already have definitions of constructors, then you do in Visual Assist X [ Create Implementation ] [1] for each constructor. - You can come up with a regexp for designers / destructors and move through them in F3. - Chinese code - do not tru. Why did you need so many designers? [1]: wholetomato.com/products/features/createImplementation.asp - Costantino Rupert
  • Yes, there seems to be such a case that can quite help. You need to make a cross-platform game interface from scratch that renders through OpenGL without using third-party libraries or templates. I thought at first just to write a small library of standard UI elements like buttons / frames / scroll bars and then define the windows I need, but then I decided that writing a library to draw 10 side windows in one project is not a very sensible idea and just made one Chinese class Ui. - igumnov
  • Oh yes, this thing worked as it should. 40 minutes saved time. - igumnov

1 answer 1

From the @CostantinoRupert user comment :

  1. If there are already constructor definitions, then you do in Visual Assist X Create Implementation [ archive ] for each constructor.

  2. You can come up with regexp for constructors / destructors and navigate through F3 .

  3. Chinese code - do not tru. Why did you need so many designers?