online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <future> #include <iostream> int main() { std::promise<int> prom; std::future<int> fut = prom.get_future(); std::cout << "1 ok" << std::endl; prom.set_value(111); std::cout << "2 ok" << std::endl; std::cout << fut.get() << 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