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:为什么main函数不能用void?

Posted by 20074440112 at 2010-11-08 23:50:39 on Problem 1000
In Reply To:Re:为什么main函数不能用void? Posted by:cwj1316 at 2009-08-15 19:23:49
> C99标准规定,main 函数只有 int main( void ) 
> 和 int main( int argc, char * argv[] ) 这两种形式,所以 void main() 本身就是错的,
> 编译出错才正常。

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