online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <vector> #include <string> #include <memory_resource> int main() { std::pmr::polymorphic_allocator alloc_1; std::pmr::polymorphic_allocator alloc_2; std::pmr::vector<std::pmr::string> vec(alloc_1); vec.emplace_back("test1 this is a long string", alloc_2); vec.emplace_back("test2 this is a long string", alloc_2); 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