fork download
  1. class Node{
  2. public:
  3. int data;
  4. Node* next;
  5. };
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:1:1: error: unknown type name ‘class’
 class Node{
 ^~~~~
prog.c:1:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
 class Node{
           ^
stdout
Standard output is empty