K
Krice
I was browsing through a source code of game Abura Tan and discovered
that there are 11 main()-functions. I always thought a program could
have only one main(). What is the reason for those main-functions?
The source code can be downloaded from Abura Tan's homepage:
http://aburatan.sourceforge.net/
There are also classes without instances (like Keyboard) which was new
to me and I didn't know it was possible to use a class without making
an
instance from it.
that there are 11 main()-functions. I always thought a program could
have only one main(). What is the reason for those main-functions?
The source code can be downloaded from Abura Tan's homepage:
http://aburatan.sourceforge.net/
There are also classes without instances (like Keyboard) which was new
to me and I didn't know it was possible to use a class without making
an
instance from it.