/icpp

Interactive CPP provide an interface interactive to test yours sinpets

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Interactive CPP CMake

How to use it

Installation in Debian/Ubuntu

bash -c "$(curl -fsSL https://raw.githubusercontent.com/jxtopher/icpp/main/install.sh)"

Lunch ICPP from Docker

docker pull jxtopher/icpp
docker run -it jxtopher/icpp

ICPP Example

  • Print a message
[0]: <<"My message";
My message
  • Initialise a variable and print it
[0]: int a = 44;
[1]: <<a;
44
  • Try your regex
[0]: <<std::regex_match ("softwareTesting", std::regex("(soft)(.*)") );
1
[1]: <<std::regex_match ("softwareTesting", std::regex("(xoft)(.*)") );
0

Keywords

!, ?, exit, reset, reset-on, reset-off