The short answer, is because the C++ standard requires main() to return int . As you probably know, the return value from the main() function is used by the runtime library as the exit code for the process. Both Unix and Win32 support the concept of a (small) integer returned from a process after it has finished.
Saturday, 13 April 2019
Subscribe to:
Post Comments (Atom)
VB Database Connectivity
Dim con As ADODB.Connection Dim rs As ADODB.Recordset Set con = New ADODB.Connection con.Open ("Provider=Microsoft.Jet.OLEDB.4.0;Data ...
-
Tkinter: (Toolkit Interface) -------- -Tkinter is Python’s standard GUI (Graphical User Interface) package. -Tkinter Toolkit used...
-
----------------------------------- Python Turtle: ---------------------------------- -Turtle graphics is a popular way for introducing pro...
-
Python Topics 1. List 2. Tuples 3. Strings 4. Dictionaries 5. Set ...
No comments:
Post a Comment