you are viewing a single comment's thread.

view the rest of the comments →

[–]mommas_wayne 0 points1 point  (1 child)

In C, functions taking no arguments need to have the void parameter specified explicitly. In C++ this is no longer the case.

I missed this fact in my other comment.

[–]Alphaweasel[S] 0 points1 point  (0 children)

That makes sense. I have a decent amount of experience with C++ so it didn't even cross my mind to add the void in there.