Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
economizing with functions that do the same thing
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Ian Collins, post: 2471686"] Dan might have been referring to functions you would have to pass along with the type to do whatever the action is. For example in you print_a_something case, you would have to pass in the something and a function to return the the appropriate format string. If the something was more complex than a POD, a function to do the printing would be required. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
economizing with functions that do the same thing
Top