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 <iostream> using namespace std; int main() { cout<<"Hello World"; return 0; }
#ifndef daap_tools_h #define daap_tools_h class Tools { public: static int toInt(char c); static char* toTwoChar(byte b); }; #endif
#include "tools.h" int Tools::toInt(char c) { return (int)(c - 48); } char* Tools::toTwoChar(byte b) { byte dizaines = b / 10 ; byte unites = b - dizaines*10; char res[3] = {'0' + dizaines, '0' + unites, '\0'}; return res; }

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