SciTE is a fantastic text editor. I used it for small and fast prototyping of code.
Here is the solution:
2. Go to Scite's folder and open cpp.properties and add the following line:
Now every time you press F5 in SciTE your code will run be executed and the results displayed in the Output window.