I'm don't know how to use the command line with Notepad++ to accept input and display output.

link|improve this question
1  
Are trying to run or compile a java program from within Notepad++? – heavyd Apr 27 '10 at 22:10
@heavyd - sounds like he has a console interface with his program, and wants to use it from notepad++. Can't be sure, though. @Ian, please add details to your question about it. – Gnoupi Apr 29 '10 at 8:21
feedback

2 Answers

Look at the NppExec plugin. It allows for using the command prompt and Command line programs. There is also a nice guide for setting up compilers.

link|improve this answer
feedback
class CommandLineInputSample
{
    public static void main(String args[])
    {
        int sum, num1, num2, num3;

        num1=Integer.parseInt(args[0]);
        num2=Integer.parseInt(args[1]);

        sum=num1+num2;
        System.out.println("The sum = "+sum);
    }
}
link|improve this answer
feedback

Your Answer

 
or
required, but never shown