online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
import java.util.*; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); try { while (true) { System.out.println("Введите строку (quit для завершения):"); String input = null; try { input = scanner.nextLine(); } catch (NoSuchElementException e) { System.out.println("Ошибка ввода: " + e.getMessage()); break; } if (input.equals("quit")) { break; } System.out.println("INPUT: '" + input + "'"); } } catch (Exception e) { System.out.println("Ошибка ввода: " + e.getMessage()); } finally { scanner.close(); } } }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue