You can now compile and run C++ programs from within Notepad++. To test the set up, copy the following program into a new Notepad++ tab and save the file as hello. cpp to a convenient location like the Desktop. Select C++ compile script from the dropdown list.