TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CLIFF RHODES
from: ALEXANDER NAUMOCHKIN
date: 1997-05-27 20:10:00
subject: type of main()

Monday May 26 1997 09:25, Cliff Rhodes wrote to Frank Masingill:
 FM>> void main()
 CR> Frank, please use int main(void) !!!!
Yes, Cliff, I think like you, but... Let people do what they want. Read 3.6.1 
(Main function) in current C++ WP:
2 An implementation shall not predefine the main function.   This  func-
  tion  shall  not  be  overloaded.  It shall have a return type of type
  int, but otherwise its type is implementation-defined.
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Alexander
--- xMail/beta
---------------
* Origin: ASH Project, Moscow (fidonet 2:5020/59)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.