I found info on how to do it in c#, but how to make a C++ app pop-up that UAC "Run as administrator" when it is run?
You can set the manifest in Visual Studio in:
Project >> Properties >> Configuration Properties >> Linker >> Manifest File >> UAC Execution Level.