Is there any particular reason for why you're using C++ ins…
Is there any particular reason for why you're using C++ instead of a higher-level language? If you're not writing something low-level which needs to be extremely performant, using C++ sounds quite masochistic.