prog.cpp:5: error: ‘typedefstruct’ does not name a type
prog.cpp:10: error: expected constructor, destructor, or type conversion before ‘;’ token
prog.cpp: In function ‘int main()’:
prog.cpp:15: error: ‘cell’ was not declared in this scope
prog.cpp:15: error: expected `;' before ‘head’
prog.cpp:18: error: ‘head’ was not declared in this scope
prog.cpp:21: error: expected type-specifier before ‘=’ token
prog.cpp:21: error: expected primary-expression before ‘)’ token
prog.cpp:21: error: expected `;' before ‘malloc’
prog.cpp:22: error: expected type-specifier before ‘->’ token
prog.cpp:22: error: lvalue required as unary ‘&’ operand
prog.cpp:24: error: expected type-specifier before ‘->’ token
prog.cpp:24: error: expected `)' before ‘->’ token
prog.cpp:26: error: expected type-specifier before ‘->’ token
prog.cpp:26: error: lvalue required as unary ‘&’ operand
prog.cpp:27: error: expected type-specifier before ‘->’ token
prog.cpp:27: error: lvalue required as unary ‘&’ operand
prog.cpp:29: error: expected type-specifier before ‘->’ token
prog.cpp:29: error: expected `;' before ‘->’ token
prog.cpp:31: error: ‘a’ was not declared in this scope
prog.cpp:32: error: ‘b’ was not declared in this scope
prog.cpp:34: error: expected type-specifier before ‘->’ token
prog.cpp:34: error: expected `)' before ‘->’ token
prog.cpp:34: error: expected primary-expression before ‘->’ token
prog.cpp:34: error: expected `;' before ‘)’ token
prog.cpp:39: error: expected type-specifier before ‘->’ token
prog.cpp:39: error: expected `;' before ‘->’ token
prog.cpp:40: error: expected type-specifier before ‘;’ token
prog.cpp:49: error: ‘a’ was not declared in this scope
prog.cpp:53: error: ‘return0’ was not declared in this scope