I have been using Notepad++ for many years and it never crossed my mind that this tool is not just a simple text editor. I does more that syntax highlighting of your C/C++/Java codes. See this tutorial at The Crazy Programmer. Read Article >>
In this tutorial I will tell you about how to configure notepad++ to run C, C++ and Java programs. It also works for languages like Python, JavaScript, etc.
Source: Configure Notepad++ to Run C, C++ and Java Programs – The Crazy Programmer