Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Buckys C++ Programming Tutorials - 59 - function Templates with Multiple Parameters

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
8,046
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 10, 2011

For all of our videos, visit http://thenewboston.com

  • likes, 0 dislikes

Link to this comment:

Share to:

Top Comments

  • Finally starting to piece this all together, made a fully working basic calculator that can add, multiply, divide and subtract two numbers with user input using cin, using switch statements and function templates with multiple parameters. Thank you Bucky. Been said a 10000000 times but you make programming so easy.

  • You're all noobs, I'm a 93' kid.

see all

All Comments (37)

Sign In or Sign Up now to post a comment!
  • i never used them, many ppl say they complicate all the source and using them a lot

    makes the code compile much slower,

    if i need a class as an argument i'd use abstract class with a pointer to children,

    or overload function by self

    templates just do the overload for us

  • @devilazpl true, but if had a class as a parameter for example, it'd be different, you can't convert a pointer to a class to another and that's where templates comes in handy!

  • just make a function that gets floats, and it doesnt matter if it return int, or doubles

  • 2000 kid :P

  • Beautiful!!!

    Easy to understand. Thank you very much.

  • Nice one bucky,clear enough,great job man,..btw..have you created tutorails for visual c++ regarding user forms?

  • o.o you kids are like 12? teh hell?

  • 97 BIATCH! ^^

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more