cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
user name:
password:
Forgot your password?
please wait
try again
cancel
forgot your password?
sign up
log in
[Legacy version]
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Why put parameters that are never used i
Why put parameters that are never used in a function?
Sep 17, 2016 at 2:28pm
Sep 17, 2016 at 2:28pm UTC
randompersonhere
(22)
I have been reading lots of code and there are lots of functions that have parameters that are not used. They just put a lot of the same parameters in. Why do this if it is never used?
Sep 17, 2016 at 2:41pm
Sep 17, 2016 at 2:41pm UTC
shadder
(813)
Could you give us some examples?
Topic archived. No new replies allowed.