This video demonstrates how to create a C++ class in Visual Studio Code. The free extension C++ Class Creator by FleeXO is needed. A link follows.
The extension will automatically generate .hpp and a .cpp class. It will prepopulate the files with a class structure, prototypes for a constructor and destructor, and public/private sections.
I have no connection to FleeXO. Here is a link to his extension. https://marketplace.visualstudio.com/...