Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:菜鸟求助!自己机子上运行正常,为什么会有complie error?

Posted by dancia at 2005-04-02 11:59:34
In Reply To:菜鸟求助!自己机子上运行正常,为什么会有complie error? Posted by:afsy001 at 2005-04-02 11:51:57
> 我做的是1051题,摩斯码的那个。自己机子上没错误也没警告,为什么在这里是compile error呢?还有,它括号里的数字是指什么呢?谢谢大家了!
> Main.c
> 398185\Main.c(10) : error C2001: newline in constant
> 398185\Main.c(12) : error C2059: syntax error : 'constant'
> 398185\Main.c(12) : error C2001: newline in constant
> 398185\Main.c(46) : error C2065: 'length' : undeclared identifier
> 398185\Main.c(46) : error C2109: subscript requires array or pointer type
> 398185\Main.c(46) : error C2106: '=' : left operand must be l-value
> 398185\Main.c(52) : error C2143: syntax error : missing ';' before '?'
> 398185\Main.c(56) : error C2109: subscript requires array or pointer type
> 398185\Main.c(57) : error C2109: subscript requires array or pointer type
> 398185\Main.c(76) : error C2143: syntax error : missing ';' before 'type'
> 398185\Main.c(79) : error C2065: 'head' : undeclared identifier
> 398185\Main.c(79) : error C2065: 'tail' : undeclared identifier
> 398185\Main.c(81) : error C2109: subscript requires array or pointer type
> 398185\Main.c(82) : error C2109: subscript requires array or pointer type
> 398185\Main.c(82) : error C2109: subscript requires array or pointer type
> 398185\Main.c(82) : error C2106: '=' : left operand must be l-value
> 398185\Main.c(83) : error C2109: subscript requires array or pointer type
> 398185\Main.c(83) : error C2106: '=' : left operand must be l-value
> 

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator