@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!
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.
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 2 weeks ago
just make a function that gets floats, and it doesnt matter if it return int, or doubles
devilazpl 3 months ago
@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!
Kapetozzo 2 weeks ago in playlist C++ Programming Tutorials Playlist
2000 kid :P
dbzking00 3 months ago in playlist More videos from thenewboston
Beautiful!!!
Easy to understand. Thank you very much.
nancymyle 3 months ago
Nice one bucky,clear enough,great job man,..btw..have you created tutorails for visual c++ regarding user forms?
dNAsh03 4 months ago
o.o you kids are like 12? teh hell?
onelerv1 4 months ago
This has been flagged as spam show
'98 was the best. Any higher you're a proper n00b.
charbeanmcbean 4 months ago
Comment removed
charbeanmcbean 4 months ago
97 BIATCH! ^^
TehMeeperz 5 months ago
99 kid
fakenstein666 5 months ago
@fakenstein666 is this count down or something?
fakenstein666 5 months ago
97'
noaadude 6 months ago
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.
fifaismygoal 6 months ago 9
95 Kid :D
AaronLittle1576 8 months ago
I'm '95 and I've coded ~7years :)
Maketsup 8 months ago
1988. I am old :)
2ivenhoe 8 months ago
@2ivenhoe yeah, I'm '89 and it looks I'm almost the oldest :P
scorpio18K 6 months ago in playlist Więcej filmów od użytkownika thenewboston
I'm a '94 kid...
^^
intensity67 8 months ago
i'm 95
ReamKovalski 9 months ago
wow '97 thats pretty awsome
ralphanator4 9 months ago
is everybody here a teenager? (97 ftw :D)
beeejay65 9 months ago
96!
joaoris 9 months ago
You're all noobs, I'm a 93' kid.
KholdAxe 9 months ago 6
'95 kids :D
skychy 9 months ago in playlist C++ Programming Tutorials (thenewboston)
thank you bucky, i tried to learn this from a book and it was awful.you explained templates beautifully.
yandykun 9 months ago
4th
iiTJS 9 months ago
yeeey first
coder1997 9 months ago
@coder1997 That didn't help anyone.... >.>
xXcj54Xx 9 months ago
@xXcj54Xx it may have helped his ego?
cputetley 9 months ago
@cputetley Shame... *Whispers * Let's put him in the incinerator.
xXcj54Xx 9 months ago
@xXcj54Xx yeah, but shhhhhh dont tell coder1997, hes a noob cause he was born in 1997
cputetley 9 months ago
@cputetley so u think im a noob? i was born in 1997
xxdray2xx 9 months ago
@xxdray2xx haha, u all noobs to me, cause we all know that 1996 is the best year :D haha :P
cputetley 9 months ago