๐Ÿ’ป Compiler & AI Assistant Guide

Discover how to write code, execute programs, use the AI generator, and fix errors with AI Debug.

๐Ÿš€ Writing and Running Your Code

Our online compiler includes a professional code editor (powered by Monaco) and a live execution terminal. The compiler establishes a real-time WebSocket connection to our secure compile servers to run your code. Follow these detailed steps to write and execute programs:

1

Write Your Program

Select a language from the compiler picker (e.g., C, C++, Java, Python, JavaScript, SQL, HTML, CSS). Write or edit your program lines inside the Monaco code box. The editor automatically highlights syntax and flags compile-time errors in real-time.

Go to C Compiler Page โ†’
2

Click Run (or Ctrl+Enter)

Press the green Run button on the editor toolbar or use the keyboard shortcut Ctrl + Enter. This opens a live WebSocket stream to compiling servers, downloads dependencies, runs compiler pipelines (e.g. GCC for C/C++), and streams outputs directly back to your terminal window line-by-line.

3

Send Input to Programs (stdin)

Does your program ask for input (like using scanf in C, cin in C++, or input() in Python)? When your running code encounters an input command, an interactive input box will automatically slide open at the bottom of the Terminal panel. Type your input value, press Enter, and the value will be transmitted down the WebSocket to the execution server immediately to resume program execution.

4

Pro Plan Premium Workspace

For a distraction-free coding experience, upgrading to the Pro plan modifies your compiler workspace interface:

  • No Advertisements: All advertisement banners are removed from the workspace completely.
  • 2-Column Layout: The desktop editor expands to occupy a wider, premium double-column viewport where the code editor sits on the left and the output terminal + AI explanations sit on the right, removing height restraints.

๐Ÿช„ AI Code Generator (Alt+G)

Don't know how to write a program? Let our AI write it for you! The generation is powered by GPT-4o.

1

Write a Description

In the top Generate Bar, type what you want in simple English (for example: "bubble sort algorithm in python" or "calculate circle area in C").

2

Generate Code

Click the Generate button or press Alt+G. A countdown timer will show up, and the AI will automatically insert the completed program directly into your editor.

3

Read AI Explanations

Once you run the code, click the Explain tab on mobile or look at the AI Explanation panel on desktop. The AI gives a line-by-line simple translation of what your code does, helping you learn faster!

๐Ÿž AI Debug โ€” Fix Your Code (Debug Button)

When your program has an error, EduSeekho doesn't just show you the error โ€” the AI can find the bug and fix it for you. This is powered by GPT-4o.

1

Run Code That Has an Error

Write or run a program that fails. Instead of an explanation, the AI Explanation panel will show a "Your code has an error" message with a Debug button โ€” because there's no point explaining code that didn't run.

2

Click "Debug My Code"

Press the Debug button in the panel (or the Debug button on the toolbar). The AI reads your code and the error, then explains in plain English what went wrong, why it happened, and how to fix it.

3

Get the Corrected Code

The AI shows the issues it found, helpful tips, and a fully corrected version of your program that you can copy straight into the editor. Fix bugs and keep learning without getting stuck.

๐Ÿ’ก
Debug works for SQL queries too โ€” if a query fails, you'll get a "Debug My Query" button that finds and fixes the problem. Each Debug uses one of your daily AI generations.

๐Ÿ’ก AI Explanation On/Off Toggle

You're in control of when the AI explains your code. A toggle switch sits at the top-right of the AI Explanation panel.

1

Toggle Off (Default) โ€” Save Your Generations

By default the toggle is off, so running correct code won't use up an AI generation. This is perfect when you already understand your code and just want to run it.

2

Toggle On โ€” Auto-Explain

Switch it on and every time you run correct code, the AI automatically writes a line-by-line explanation. Each explanation uses one of your daily AI generations.

โšก
The toggle only affects explanations of working code. The Debug button always works when there's an error, no matter how the toggle is set.

๐Ÿ”— Sharing and Downloading Codes

Do you want to share your homework or download it to your device?

1

Generate Shareable Links

Click the Share button on the toolbar or press Alt+S. The site creates a short, permanent link. Copy it and send it to your teacher or friends to show your code.

2

Downloading Code Files

Click the Download icon or press Alt+D. The website saves the code as a file (like `main.c`, `main.py`, or `main.java`) directly to your Downloads folder.

โŒจ Keyboard Shortcuts

Use these simple keyboard shortcuts to code faster without moving your mouse:

Action Keyboard Shortcut
Run Code Ctrl + Enter
Generate Code (AI) Alt + G
Stop Running Program Alt + K
Reset Code Editor Alt + R
Copy Code Alt + C
Share Code Link Alt + S
Download Code File Alt + D
Clear Terminal Alt + X
Toggle Dark/Light Mode Alt + T
Toggle Terminal Color (Skin) Alt + L