I see many examples or programs that start like this:
I've always been taught up to now to use the following code to start a main program.Code:int main() { etc. return 0; }
Which is the best method to use? and why? thanks.Code:void main() { etc. }