A minimal C++ and JavaScript problem-solving workspace for VS Code and GitHub Codespaces.
- Open
cppWorkspace.code-workspace. - Open a
.cppor.jsproblem file. - Put sample input in
workspace/input.txt. - Run the build task.
- Read the result from
workspace/output.txt.
| Environment | Shortcut |
|---|---|
| VS Code Command Palette | Cmd + Shift + P |
| macOS local custom shortcut | Cmd + R |
| Windows/Linux local default task with Bash | Ctrl + Shift + B |
| Codespaces on macOS | Cmd + Shift + B |
| Codespaces on Windows/Linux | Ctrl + Shift + B |
After running a problem once, you can focus workspace/input.txt or workspace/output.txt and run again. The runner reuses the current problem file.
- Set up locally: docs/setup.md
- Run code: docs/running-code.md
- Create a problem file: docs/new-problem.md
- Use Codespaces: docs/codespaces.md
- Configure shortcuts: docs/shortcuts.md
- Enable Gemini complexity estimates: docs/gemini-complexity.md
- Review helper tasks: docs/tools.md
- Check project files: docs/project-structure.md
- Manage Explorer cleanup: docs/workspace-cleanup.md
- Check git safety: docs/git-safety.md
- Follow workspace rules: docs/rules.md
.vscode/ VS Code tasks and helper scripts
.devcontainer/ Codespaces setup
config/ Local config and ignored state
docs/ Workspace guides
problems/ Saved problem solutions
problems/templates/ New-problem templates
scripts/setup-check.sh macOS setup checker
workspace/input.txt Shared sample input
workspace/output.txt Shared program output
workspace/testcpp.cpp Scratch C++ file
workspace/testJS.js Scratch JavaScript file