#1
|
|||
|
|||
C error
../userprog/exception.cc: In function `char* UserToSystem(int, int, int)':
../userprog/exception.cc:107: parse error before `)' token ../userprog/exception.cc:107: parse error before `)' token ../userprog/exception.cc:129: parse error before `)' token ../userprog/exception.cc: In function `int SystemToUser(int, int, int, char*)': ../userprog/exception.cc:145: parse error before `)' token ../userprog/exception.cc:145: parse error before `)' token ../userprog/exception.cc:165: parse error before `)' token ../userprog/exception.cc:170: parse error before `)' token oddly enough the line of code is: if((numbytes<0) && ((charmode!=M_ASCII) || (charmode!=M_BINARY))) i doubt i'll get any useful replies but my TA is taking forever so i thought hell i'll give this a whirl. numbytes, charmode is defined in the function declaration and M_ASCII/M_BINARY are #define b4 class starts. |
|
|