Checked my guess in Dev C++ by not specifying a type for main() and not using a return statement at the end of the program. It not only works, but checking the class list, it lists my main as being void.
So, where you want to use void main(), instead, simply use main() and don't use a return at the end. That will give you the void you want to use.
Blaine
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Checked my guess in Dev C++ by not specifying a type for main() and not using a return statement at the end of the program. It not only works, but checking the class list, it lists my main as being void.
So, where you want to use void main(), instead, simply use main() and don't use a return at the end. That will give you the void you want to use.
Blaine