Thank you for testing your code with Comeau C/C++!
Tell others about
http://www.comeaucomputing.com/tryitout !
Your Comeau C/C++ test results are as follows:
Comeau C/C++ 4.3.10.1 (Oct 6 2008 11:28:09) for ONLINE_EVALUATION_BETA2
Copyright 1988-2008 Comeau Computing. All rights reserved.
MODE:strict errors C++ C++0x_extensions
"ComeauTest.c", line 128: warning: variable "menu" is used before its value is set
while(menu != 0) {
^
"ComeauTest.c", line 147: error: expected a ")"
artistNodePtr newNodePtr = (artistNodePtr)malloc(sizeof(name)};
^
"ComeauTest.c", line 147: error: expected a ";" (perhaps on the previous statement)
artistNodePtr newNodePtr = (artistNodePtr)malloc(sizeof(name)};
^
"ComeauTest.c", line 147: warning: missing return statement at end of non-void
function "initializenode"
artistNodePtr newNodePtr = (artistNodePtr)malloc(sizeof(name)};
^
"ComeauTest.c", line 147: error: extra ";" ignored,
In C: A function definition does not end with a semicolon
In C++: A non-member function definition, extern "C" block,
or namespace does not end with a semicolon
artistNodePtr newNodePtr = (artistNodePtr)malloc(sizeof(name)};
^
"ComeauTest.c", line 149: error: expected a declaration
Wild guess: Should this be in a function block?
if (newNodePtr != NULL) {
^
"ComeauTest.c", line 254: warning: parsing restarts here after previous syntax error
buffer[i] = '\0';
^
"ComeauTest.c", line 255: error: expected a declaration
Wild guess: Should this be in a function block?
} /* end of function getNextLine() */
^
At end of source: warning: parsing restarts here after previous syntax error
5 errors detected in the compilation of "ComeauTest.c".
In strict mode, with -tused, Compile failed