online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
class Rectangle: recs = [] def __init__(self, w, l): self.width = w self.len = l self.recs.append((self.width, self.len)) def print_size(self): print("""{} by {}""".format(self.width, self.len)) r1 = Rectangle(10, 24) r2 = Rectangle(20, 40) r3 = Rectangle(100, 200) print(Rectangle.recs)

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