online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include<iostream> using namespace std; int main(){ setlocale(LC_ALL, "rus"); float a, b; cout<<"write a & b"<<endl; cin>>a>>b; cout<<"a+b="<<a+b<<endl; cout<<"a-b="<<a-b<<endl; cout<<"a*b="<<a*b<<endl; try{ if(b==0){ throw "dev on 0" ; } cout<<"a/b="<<a/b<<endl; } catch(char const*str){ cout<<str<<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