NppExec adds a Console window at the bottom of Notepad++'s window; This Console window allows to run different console programs directly in it; Also there is Plugins -> NppExec -> Execute... window ...
common Script to Compile and Run multiple languages code in Notepad++ using NppExec plugin. Currently it supports C, C++, Java, C#, Python language; let me know if you want support for more languages ...