LiveCodeStudio.com User Guide

Free coding. Fast learning. Anywhere.

LiveCodeStudio is a web-based programming environment for Java and C++ with real-time compilation and execution. No installation required - just open your browser and start coding!

Getting Started

  1. Visit: Go to LiveCodeStudio.com
  2. Choose Language: Select Java or C++ from the dropdown
  3. Start Coding: Write your code in the editor
  4. Run: Click Compile → Run to execute your program

Interface Overview

Header Section

Editor Section

Output Section

Basic Workflow

1. Writing Code

// Java Example
public class Main {
    public static void main(String[] args) {
        System.out.println("Hello, World!");
    }
}
// C++ Example
#include <iostream>
using namespace std;

int main() {
    cout << "Hello, World!" << endl;
    return 0;
}

2. Compiling

3. Running Programs

Interactive Programs

Java Interactive Mode

Programs using Scanner automatically enter interactive mode:

import java.util.Scanner;

public class Interactive {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.print("Enter your name: ");
        String name = scanner.nextLine();
        System.out.println("Hello, " + name + "!");
    }
}

C++ Interactive Mode

Programs using cin, getline() automatically enter interactive mode:

#include <iostream>
#include <string>
using namespace std;

int main() {
    string name;
    cout << "Enter your name: ";
    getline(cin, name);
    cout << "Hello, " << name << "!" << endl;
    return 0;
}

Interactive Mode Features:

Multi-File Projects

Creating Files

  1. Click the + button next to file tabs
  2. Enter filename (e.g., Calculator.java, utils/Helper.cpp)
  3. Use / to create folder structure: src/main/Main.java

File Management

Project Structure Example

Java Project Structure:

MyProject/
├── Main.java
├── Calculator.java
└── utils/
    └── Helper.java

C++ Project Structure:

MyProject/
├── main.cpp
├── calculator.h
├── calculator.cpp
└── utils/
    ├── helper.h
    └── helper.cpp

Java Multi-File Project Example

Click to expand code samples:

📁 Java Example (3 files)

File 1: Main.java

import utils.Helper;

public class Main {
    public static void main(String[] args) {
        Calculator calc = new Calculator();
        System.out.println("5 + 3 = " + calc.add(5, 3));
        System.out.println("10 - 4 = " + calc.subtract(10, 4));
        System.out.println("Result doubled: " + Helper.doubleValue(calc.add(5, 3)));
    }
}

File 2: Calculator.java

public class Calculator {
    public int add(int a, int b) {
        return a + b;
    }
    
    public int subtract(int a, int b) {
        return a - b;
    }
    
    public int multiply(int a, int b) {
        return a * b;
    }
}

File 3: utils/Helper.java

package utils;

public class Helper {
    public static int doubleValue(int value) {
        return value * 2;
    }
    
    public static boolean isEven(int value) {
        return value % 2 == 0;
    }
}

C++ Multi-File Project Example

Click to expand code samples:

📁 C++ Example (5 files)

File 1: main.cpp

#include <iostream>
#include "calculator.h"
#include "utils/helper.h"
using namespace std;

int main() {
    Calculator calc;
    cout << "5 + 3 = " << calc.add(5, 3) << endl;
    cout << "10 - 4 = " << calc.subtract(10, 4) << endl;
    cout << "Result doubled: " << doubleValue(calc.add(5, 3)) << endl;
    return 0;
}

File 2: calculator.h

#ifndef CALCULATOR_H
#define CALCULATOR_H

class Calculator {
public:
    int add(int a, int b);
    int subtract(int a, int b);
    int multiply(int a, int b);
};

#endif

File 3: calculator.cpp

#include "calculator.h"

int Calculator::add(int a, int b) {
    return a + b;
}

int Calculator::subtract(int a, int b) {
    return a - b;
}

int Calculator::multiply(int a, int b) {
    return a * b;
}

File 4: utils/helper.h

#ifndef HELPER_H
#define HELPER_H

int doubleValue(int value);
bool isEven(int value);

#endif

File 5: utils/helper.cpp

#include "helper.h"

int doubleValue(int value) {
    return value * 2;
}

bool isEven(int value) {
    return value % 2 == 0;
}

Advanced Features

C++17 Support

Java Features

Project Management

Downloading Projects

  1. Click Download button
  2. Save to your local computer with your structure
  3. Extract and open in your preferred IDE

Uploading to Cloud

  1. Click Upload button
  2. Project saves to AWS S3 cloud storage with returned information
  3. Get shareable links for collaboration
  4. Access from anywhere with the link

Project Naming

AI Assistant

Accessing Help

  1. Click the 🎓 button (bottom right)
  2. Chat panel opens with programming assistant
  3. Ask questions about Java, C++, programming, etc.

Assistant Features

Sample Questions

Tips & Best Practices

Code Organization

Debugging

Performance

Mobile Usage

Troubleshooting

Common Issues

Compilation Errors:

Runtime Errors:

Interactive Mode Issues:

Getting Help

  1. AI Assistant: Click 🎓 for instant help
  2. Error Messages: Read carefully for clues
  3. Examples: Use Learn button for tutorials
  4. Support: Contact support@STEMists.com

Keyboard Shortcuts

System Requirements

Privacy & Security