class DDLNode: def __init__(self, next=None, prev=None, data=None): self.data = data self.prev = prev self.next = next
Standard input is empty
prog.c:1:1: error: unknown type name ‘class’ class DDLNode: ^~~~~ prog.c:1:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token class DDLNode: ^
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!