title: C++: Run program as administrator
body: <p>Some programs are automatically asking for administrator rights when you run them. These programs are marked with a little shield in the bottom right corner:<br>
  <a href="https://i.stack.imgur.com/KJCwI.png" rel="noreferrer"><img src="https://i.stack.imgur.com/KJCwI.png" alt="enter image description here"></a> 
  Now I'm wondering how I could accomplish this in C++.<br>
  Is there a function for this or do I need some special compiler/linker commands for that?</p>