What's the reason for putting void inside of the params?
Why not just leave it blank?
void createLevel(void); void createLevel();
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.
void
2.1m questions
2.1m answers
60 comments
57.0k users