online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
/****************************************************************************** Online C++ Compiler. Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <sstream> #include <iomanip> #include <iostream> int main () { std::string inputText = u8"A7°"; std::stringstream ss; // print every char of the string as hex on 2 values for (unsigned int i = 0; i < inputText.size (); ++i) { ss << std::hex << std::setfill ('0') << std:: setw (2) << (int) inputText[i]; } std::cout << ss.str() << 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