帮忙解决程序中的错误!!

错误是:error C2001: newline in constantC:\Documents and Settings\Administrator\桌面\SHIYANER.CPP(112) : error C2015: too many characters in constantC:\Documents and Settings\Administrator\桌面\SHIYANER.CPP(113) : error C2143: syntax error : missing ')' before '}'C:\Documents and Settings\Administrator\桌面\SHIYANER.CPP(113) : error C2143: syntax error : missing ';' before '}'C:\Documents and Settings\Administrator\桌面\SHIYANER.CPP(121) : error C2660: 'DeQueue' : function does not take 1 parametersC:\Documents and Settings\Administrator\桌面\SHIYANER.CPP(122) : error C2065: 'S' : undeclared identifierC:\Documents and Settings\Administrator\桌面\SHIYANER.CPP(123) : fatal error C1903: unable to recover from previous error(s); stopping compilation执行 cl.exe 时出错.

第1个回答  2013-03-11
编译器已经将你的错误找出来的呀,,只要要气提示去解决就可以了。来自:求助得到的回答
第1个回答  2013-03-11
Compiler Error C2001
newline in constant
A string constant was continued on a second line without either a backslash (\) or closing and opening double quotation marks (").
To break a string constant that is on two lines in the source file, do one of the following:
End the first line with the line-continuation character, a backslash.Close the string on the first line with a double quotation mark and open the string on the next line with another double quotation mark. It is not sufficient to end the first line with \n, the escape sequence for embedding a newline character in a string constant.The following are examples of incorrect and correct usage:printf("Hello, // error
world");
printf("Hello,\n // error
world");
printf("Hello,\ // OK
world");
printf("Hello," // OK
" world");

Compiler Error C2015
too many characters in constant
A character constant contained more than two characters.
Character constants are limited to one character (standard character constants) or two characters (long character constants).
Note that an escape sequence (for example, \t for tab) is converted to a single character.追问

亲~不太看得明白你写什么??

追答

请看看代码中有没有什么特殊字符,有没有中文字符。以及换行有问题

本回答被网友采纳
相似回答