I normally use Notepad++ for doing online coding contests.
I store all of my files c:\oj which is the $(CURRENT_DIRECTORY). After coding test.cpp (same file name until complete), I use test.in and test.out for the input and output. I open a console window and then I use the command "g++ test.cpp -o test.exe" to compile. Then I use "test.exe <test.in >test.out" to run the program.
How can I get NppExec to run these commands? Everything seems to work fine except calling test.exe with the redirection.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Reading the help manual would be great, except that every page is blank.
I have been using NppExec for over a year and just updated to the new version.
NppExec output filters no longer work for GCC.
Further, the version that installs with Notepad++ is 0.3.2, so I tried to instal the new 0.3.3 and I am told the unicode version is not compatible with my ansi version. What is going on here ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I normally use Notepad++ for doing online coding contests.
I store all of my files c:\oj which is the $(CURRENT_DIRECTORY). After coding test.cpp (same file name until complete), I use test.in and test.out for the input and output. I open a console window and then I use the command "g++ test.cpp -o test.exe" to compile. Then I use "test.exe <test.in >test.out" to run the program.
How can I get NppExec to run these commands? Everything seems to work fine except calling test.exe with the redirection.
Found the answer here:
https://sourceforge.net/projects/npp-plugins/forums/forum/672146/topic/2003591
Nope, still doesn't work… I'm trying to avoid having to add debugging code for input from file as opposed to stdin.
(Notepad++ main menu) Plugins -> NppExec -> Help/Manual -> section 4.4.
Reading the help manual would be great, except that every page is blank.
I have been using NppExec for over a year and just updated to the new version.
NppExec output filters no longer work for GCC.
Further, the version that installs with Notepad++ is 0.3.2, so I tried to instal the new 0.3.3 and I am told the unicode version is not compatible with my ansi version. What is going on here ?