In c++, is using void main() even legal and if so, in what cases?
Just a note, I indeed have consulted a lot of websites regarding this and they all seem to say that
void main() in c++ is for dummies
. but my teachers and many friends say there is no problem with void main. but my compiler shows an error with void. and even if it is not a good practice, is it at least allowed in c++? I just want to close this topic once and for all.