online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
// Online C++ compiler to run C++ program online #include <iostream> #include <regex> int main() { char text[] = "<AD1>gft-cdq[723,41,15,16][717,37,26,22]*142$15.7k708w8s07XX70zwMs7k37UwAMw7XX70wQMs7U300y0M1U"; std::cmatch m; std::regex re(">(.*?)(\[.*])"); std::regex_match(text, m, re); std::cout << "m0: " << m[0] << std::endl; std::cout << "m1: " << m[1] << std::endl; std::cout << "m2: " << m[2] << std::endl; return 0; }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue