To run this cpp script you can use CLion, or run it through the terminal (assuming you have gcc/clang installed)
gcc:
g++ ToCAutomata.cpp -o temp && ./tempOr with clang:
clang++ ToCAutomata.cpp -o temp && ./tempEnter your IT login e.g. abcd036 (NO WHITESPACE)
Observe results, precisely telling you which state matches to what, as well as the regEx constructed using Kleene Theorem.