KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
C++03 3.6.1.3 : The function main shall not be used (3.2) within a program. ... I wonder why this rule exists... Is anyone aware of any system/implementation where it would be a problem if main were used? P.S. 1. I know the definition of the term used . 2. I know there are simple workarounds like calling a single MyMain() from main() and using MyMain() instead. 3. The question is about real-world implementations which would have a problem if the restriction weren't there. Thanks!
Tags (comma-separated)
Save Edits
Cancel