online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <iostream> // not actually required for the hash #include <string> auto main() ->int { const std::string input = "Hello World!"; const std::hash<std::string> hasher; const auto hashResult = hasher(input); std::cout << "Input hash is: " << hashResult << std::endl; }

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