Is there a difference in (void) and ()?

The tittle is a little vague, let me elaborate.

Is there a difference between these two functions?

int ShowValues()
int ShowValues(void)

What is the void inside the () for?
If not, why do people do this?
They are the same.

People will do it to attempt to emphasize that there are no arguments.

Personally, I think it is somewhat dumb (extra typing for no reason).
There's no difference.

If not, why do people do this?

It's an old relict from the C days, where void indicated that the function takes no parameters (while an empty parameter list used to indicate an arbitrary number of parameters).
Hmmm...interesting. I never learned any programming languages other than C++. That's probably the reason why I didn't understand the (void). I think it's pointless and kinda dumb but hey, I'm not being fair to those who are used to using the "old ways".

Thanks for the quick reply.
Topic archived. No new replies allowed.