# C/C++ Compile Run

> Compile, run and debug single C and C++ files in VS Code with one key

Source: https://talira.ai/catalog/c-c-compile-run-sfb95hr4
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Plugin
- Categories: [languages / c cpp](https://talira.ai/categories/languages/c-cpp), [developer tools / editors](https://talira.ai/categories/developer-tools/editors)
- Licence: GPL-3.0-only[^2]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source; the maker takes donations.
- Free tier: yes[^1]
- Backed by: [Daniel Pinto](https://talira.ai/orgs/danielpinto8zz6.md)

A [Visual Studio Code](https://talira.ai/catalog/visual-studio-code-k779xgqd.md) extension for compiling, running and debugging a single C or C++ file without setting up a build: F6 compiles and runs the open file, F7 asks for arguments first, and F5 compiles it and starts the debugger. It uses the compiler already installed (gcc, or clang on macOS), with settings for compiler paths, flags, linker flags, include paths, run arguments, an output folder and running in an external terminal. Made by Daniel Pinto. GPL-3.0 licensed.

## Links

- GitHub: https://github.com/danielpinto8zz6/c-cpp-compile-run

## Problems it solves

- compile and run one C file in VS Code without writing a Makefile
- debug a small C++ program for a class assignment in my editor
- press one key to build and run the C file I'm editing

## Features

- compile and run the open C or C++ file with one key
- compile and debug with gdb or lldb
- custom compiler paths, flags and run arguments
- run in an external terminal

## Limitations

- Works on single files, not projects with a build system[^1]
- Needs a C or C++ compiler installed separately[^1]

## Trust

Overall: 0.29 out of 1.
Signals: maintenance 0.27, adoption 0.43, momentum 0.11, community 0.50, backing 0.30, extensibility 0.00.

- latest release v1.0.92 7 months ago
- 146 GitHub stars
- 17 contributors
- accepts sponsorship (Github, Custom, Custom)
- backed by Daniel Pinto

Warnings:

- last commit 7 months ago

## Alternatives

- [C/C++ for Visual Studio Code](https://talira.ai/catalog/c-c-for-visual-studio-code-05beqmrq.md): Microsoft's C and C++ language support for VS Code
- [CLion](https://talira.ai/catalog/clion-1kkefg9q.md): The IDE for professional C and C++ development
- [Visual Studio](https://talira.ai/catalog/visual-studio-f81f5t6j.md): The comprehensive IDE for .NET and C++ developers on Windows
- [Live Sass Compiler](https://talira.ai/catalog/live-sass-compiler-mrr8jnd8.md): Compiles Sass and SCSS files to CSS as you save them in VS Code
- [Live Share](https://talira.ai/catalog/live-share-jsqqqp9h.md): Real-time collaborative editing and debugging in VS Code

## Sources

[^1]: https://github.com/danielpinto8zz6/c-cpp-compile-run#readme (checked 24 Nov 2026)
[^2]: https://github.com/danielpinto8zz6/c-cpp-compile-run/blob/master/LICENSE (checked 24 Nov 2026)
