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

Latest commit

 

History

History
47 lines (32 loc) · 850 Bytes

File metadata and controls

47 lines (32 loc) · 850 Bytes

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