When you want to code in C++ you need to learn the syntax. Primary a lot of braces are missing and the usage of ":" is completly wrong.
You need to learn from some
C++ tutorial to use this language. Install the Visual Studio and dig into some sample code. ;-)