Thread
:
Why NOT void main()
View Single Post
•
•
Join Date: Aug 2004
Posts: 24
Reputation:
Solved Threads: 0
XianBin
Offline
Newbie Poster
Re: Why NOT void main()
0
#
5
Sep 5th, 2004
the first, you mustn't have any return statement in your main() function as if you use void main() declare. If you use int main() function, you must return a int value, otherwise your complier will prompt a warning.
XianBin
View Public Profile
Find all posts by XianBin