Guides
Guides
Each guide answers one question people ask about running code online, step by step. Every program in them was run before it went up, and the output shown is the output it printed.
How to use header files (.h and .cpp) in an online C++ compiler
Run a C++ class split into Student.h and Student.cpp: send the files with the program, or #include the .cpp file as some courses do, with the errors each mistake gives.
For students and course builders. Updated .
How to run a Java program with several classes or packages in an online compiler
Run Java classes in one file, in separate files such as Student.java, or in packages such as com/acme/model, and see what each common compile error means.
For students. Updated .
How to auto-grade SQL exercises against a real SQLite database
Check students' SQL queries automatically: store the database with the problem, compare the rows each query returns in any order, and see what happens when a query tries to change the data.
For teachers and course builders. Updated .
How to keep auto-grading programming assignments now that GitHub Classroom has closed
Move GitHub Classroom input and output tests to a run-tests request or a stored problem with hidden tests, let students submit from a page you control, and see what does not carry over.
For CS instructors and teaching assistants. Updated .
More how-tos
- Online compiler with test cases Run a program against many inputs at once and see which tests pass.
- Autograder API Grade programming assignments with points, partial credit and hidden tests.
- Build an online judge Stored problems, hidden tests, checkers and verdicts, in Node.js or Python.
- Embeddable code editor Put a code editor that runs code on your own page.
- Runnable code in docs Runnable examples in Docusaurus, MkDocs, Sphinx, Mintlify and WordPress.
- Migrate from Judge0 Move a Judge0 client by changing its base URL and key.
Looking for an endpoint or a limit? The docs have every one.