Skip to content
This repository has been archived by the owner on Jul 29, 2023. It is now read-only.

Jxtopher/icpp

Repository files navigation

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