The void in the parenthesis are from C. In C a function with empty parentheses could have any number of parameters. In C++ it doesn’t make any difference.
The void in the parenthesis are from C. In C a function with empty parentheses could have any number of parameters. In C++ it doesn’t make any difference.