Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

An interpreter for C++ for easy prototyping and testing

Project Description

This program simulates an interpreter for C++ in that it allows one to execute individual statements one at a time. It could be used for quick testing and prototyping. It is built to work on Linux operating systems. Requires g++ and nano. Here is an example of a possible cppInterpreter session:

C++ : int i;

C++ : int j;

C++ : i=1; j=2;

C++ : cout << i+j;
C++ : cout << "Hello World!";
Hello World!
C++ : int add(int a, int b){
... : return a+b;
... : }

C++ : int k = add(2,3);

C++ : cout << k;
C++ :

Contact me to ask questions or give comments on how to improve my code.

Release History

Release History

This version
History Node


History Node


History Node


History Node


Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting