Use a C++11 foreach loop in Notepad_plus.cpp
also formatting in Notepad_plus.cpp