online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#convert from int to float: x = float(1) #convert from float to int: y = int(2.8) #convert from int to complex: z = complex(x) print(x) print(y) print(z) print(type(x)) print(type(y)) print(type(z))

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