online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
import java.io.IOException; public class Main { public static void main(String... args) throws IOException { Implementacao.leitor("entrada.txt"); Implementacao.escritor("saida.txt"); } }
import java.io.IOException; interface ManipulaArquivos { public static void leitor(String path) throws IOException {}; public static void escritor(String path) throws IOException {}; }
import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import java.util.Scanner; class Implementacao implements ManipulaArquivos { private static final Scanner scan = new Scanner(System.in); public static void leitor(String path) throws IOException { byte[] content = Files.readAllBytes(Paths.get(path)); String str = new String(content); System.out.println(str); }; public static void escritor(String path) throws IOException { System.out.print("Digite uma frase: "); String content = scan.nextLine(); Files.write(Paths.get(path), content.getBytes()); }; }
Hello, World!

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