Have you tried creating a blank C++ project via the in-engine Wizard instead of trying to create one by adding source files? This looks like either an installation error or some kind of deeper syntax issue. There’s nothing untoward about what you’ve written there.
As a side-note however, I would personally recommend always using the ObjectInitializer in Constructors. Parameter-less C++ constructors always seem to cause loads of problems.