An open API service indexing awesome lists of open source software.

https://github.com/sahil-rajwar-2004/cpp.py

compile and run C++ files in python environment
https://github.com/sahil-rajwar-2004/cpp.py

cpp python

Last synced: about 1 year ago
JSON representation

compile and run C++ files in python environment

Awesome Lists containing this project

README

          

# ***cpp.py***

## compile and run C++ files in python environment :)

## Essentials
#### 1. `python` >= 3.0
#### 2. `C++` compiler should installed on your system

## Installation

```bash
git clone "https://github.com/Sahil-Rajwar-2004/cpp.py.git"
cd cpp.py
python setup.py sdist bdist_wheel
cd dist
pip install
```

### Implemetation

```python3
from cpp import CPP

src_code = """
#include
using namespace std;

int main(){
cout<<"Hello World"<