This is a program that translates C++ statements (while, assignment statement, if/else if/else) to Python. It consists of a C++ program and a Node.js server.
The user inputs their code in the front end using HTML, CSS, and JavaScript. The Node.js server takes the input code, creates an input.cpp
file, and runs the C++ program. The C++ program generates an output.py
file containing the translated Python code. The Node.js server then reads the output of the C++ program (i.e., the translated Python code) and sends it back to the front end for the user to see.
- C++ compiler (tested with g++)
- Node.js (tested with v16.0.0)
- Clone the repository.
- Install
node.msi
. - Open
LUANCH.bat
.
If you want to contribute to this project, you can:
- Submit bug reports or feature requests in the issues section.
- Fork the repository and make changes.
- Submit pull requests.
This project is licensed under the MIT License. See the LICENSE
file for details.