Learn C++ With Me #20 - Functions
Вставка
- Опубліковано 29 чер 2024
- Welcome back to another C++ tutorial! In this video, we'll be covering functions. Functions are really important to C++ programming and we'll see why it was important to learn all the stuff that we did.
💻 AlgoExpert is the coding interview prep platform that I used to ace my Microsoft and Shopify interviews. Check it out and get a discount on the platform using the code "techwithtim" algoexpert.io/techwithtim
🔍 Playlist: • Learn C++ With Me
⭐️ Timestamps ⭐️
00:00 | Introduction
00:28 | What are Functions?
02:20 | Creating Functions
05:21 | Functions Without Parameters
08:00 | Void Functions
10:07 | Function Examples
13:40 | Default Parameters
16:30 | Weird Function Return Types
18:43 | Pass By Reference
24:21 | Pass By Pointer
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
💰 Courses & Merch 💰
💻 The Fundamentals of Programming w/ Python: tech-with-tim.teachable.com/p...
👕 Merchandise: teespring.com/stores/tech-wit...
🔗 Social Medias 🔗
📸 Instagram: / tech_with_tim
📱 Twitter: / techwithtimm
⭐ Discord: / discord
📝 LinkedIn: / tim-ruscica-82631b179
🌎 Website: techwithtim.net
📂 GitHub: github.com/techwithtim
🔊 Podcast: anchor.fm/tech-with-tim
🎬 My UA-cam Gear 🎬
🎥 Main Camera (EOS Canon 90D): amzn.to/3cY23y9
🎥 Secondary Camera (Panasonic Lumix G7): amzn.to/3fl2iEV
📹 Main Lens (EFS 24mm f/2.8): amzn.to/2Yuol5r
🕹 Tripod: amzn.to/3hpSprv
🎤 Main Microphone (Rode NT1): amzn.to/2HrZxXc
🎤 Secondary Microphone (Synco Wireless Lapel System): amzn.to/3e07Swl
🎤 Third Microphone (Rode NTG4+): amzn.to/3oi0v8Z
☀️ Lights: amzn.to/2ApeiXr
⌨ Keyboard (Daskeyboard 4Q): amzn.to/2YpN5vm
🖱 Mouse (Logitech MX Master): amzn.to/2HsmRDN
📸 Webcam (Logitech 1080p Pro): amzn.to/2B2IXcQ
📢 Speaker (Beats Pill): amzn.to/2XYc5ef
🎧 Headphones (Bose Quiet Comfort 35): amzn.to/2MWbl3e
🌞 Lamp (BenQ E-reading Lamp): amzn.to/3e0UCr8
🌞 Secondary Lamp (BenQ Screenbar Plus): amzn.to/30Dtafi
💻 Monitor (BenQ EX2780Q): amzn.to/2HsmUPZ
💻 Monitor (LG Ultrawide 34WN750): amzn.to/3dSD7tS
🎙 Mic Boom Arm (Rode PSA 1): amzn.to/30EZw9m
🎚 Audio Interface (Focusrite Scarlet 4i4): amzn.to/2TjXsih
💸 Donations 💸
💵 One-Time Donations: www.paypal.com/donate?hosted_...
💰 Patreon: / techwithtim
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
⭐️ Tags ⭐️
- C++ Tutorial
- C++
- Coding Tutorial
- Tech With Tim
- Function
⭐️ Hashtags ⭐️
#TechWithTim #C++Programming
Yes, definitely cover oop at least a little bit. I don't think the series would be complete without it. Overall, great tutorials!
I really want to thank you from the bottom of my heart . All your videos are overloaded with information that is not overwhelming at all since you teach in a simple and clear way 👍 Thank you sooo much once again.
This series would feel incomplete if OOP is not covered because c++ is built on those principles. Great tutorials so far!
Do oop, but cover private and public fields as well. After that video you could also do inheritance. Much love
This series is extremely helpful!! I really appreciate the effort Tim has put in making this video!!
Excellent content as always. You're definitely one my favorite instructor.
Please, some OOP videos in C++ will be greatly appreciated. Thanks again.
ikr he just ditched the series lol
Thanks for this series, Tim! It was super helpful!
Thank you so much for these series Tim! Consider making a C++ project series.
Amazing content Tim! Love every bit of it. Yes, I would like it if you gave us more examples of functions. Thank you very much!
OOP videos would definetely be appriciated!
hey techwithtim, you're probably not going to see this but this series has helped alot as a 14yo trying to learn how to code. thank you for everything and i hope i will one day be as good as you!
Extremely talented programmer Tim is.
Yoda is a programmer?
all i see is facts
Do more of c++ videos, it's very helpful!
Great Series, Tim! Thank you so much!
Do make another complete series on OOPS please..
Man I love this series
Love your work Tim! 😎👍
Fantastic series, thanks Tim!
Wow, such great tutorial...thanks for the effort put into this.
Thanks so much for all these amazing videos.
I'm glad that I got to learn being a techie myself
great tutorial series,this is my second programming languge im learing,litteraly teached me alot,but i feel like u should do viedo about classes.
I seriously wanna thank you 😭😭😭
Thanks to you I have understood alot of stuff
Hey, Tim! Quality tutorial as always
I was genuinely just wondering, do you have a/multiple video editors? Just curious.
basic oop would be amazing :D love ur videos dude keep up the great work
OOP IN C++ BIG DAWG !!!!
YOU THE MAN FOR REAL!
Thanks Tim. Your videos are very helpfull. We are waiting for OOP ...
That's a great video for beginners to learn & understand, thanks for sharing !+👍
Thank you dear Tim...
Thank you!
Classes video, please. Modules, too. More OOP in general. Maybe a small OOP project?
Love from Tamilnadu❤️❤️
Nice series.
Thanks!
You are great!
Thanks you are the best
been following these because I have lied on my resume thank you Tim
Do an oop app that implements OpenGL (maybe a particle simulation or smth like that).
you are best ever..
Thanks
Could you make a tutorial about streams and reading and writing files in C++?
Tim, can you please make a quick DEPLOYMENT TUTORIAL for django? It has been 2 years and you've said to get on you to make the video!
Not to be harsh or anything, but why were the return types in the "Weird Function Return Types" emphasized as 'Weird'? My only concern is that beginners may see this differently from usual return types like ints and void. Nontheless, I love this series, I would love to see Object Oriented Programming in C++, and I wish this series would continue. Something that you missed with functions is function overloading and operator overloading - there is still a lot to cover.
aren't function and operator overloading a part of OOP? polymorphism
@@mastershooter64 yes, they are
A suggestion: Cmake, header files, templates, structures, and linking libraries with cmake
Hey, I love the Vids! Can you add Linked List by any chance?
I'd like to see some more. Go ahead. Show us some object oriented programming.
Hey bro.. Can we know which site you are using to learn these
C++👍
hey cool videos! can you show how structs work in c++?
If you know how classes work, structs work the exact same way
The only actual difference is all the attributes and methods are public by default for structs but private by default for classes
Hi . Thanks
Hi Tim, can you make a video on locale module in python
你好👋
Actually am the first here 😲
Do come with the c++ using oops ❤️
@ 23:33 Shouldn't it be,
void swap(int *x, int *y) {
x = y;
y = x;
}
if passing by reference? Asterisk, and not the Ampersand?
how many hours a day do you work or study?
Love from india
Please make videos on OOPS to🙏 .
Please cover the OOP
God damnit Tim, MSI is on right now.
Sir plz teach oops in c++
I have difficult working with templates especially Class templates. Please, make a video about template
You should have said in the video that you can't do this:
int *func() {
int a;
return &a;
}
This is the most error causing thing in C/C++ while learning, even if you don't explain why, just say that it can't be done. It will help thousands of people.
you can do that, it will invoke undefined behavior tho
What version of C++ are you using?
which font is it?
Hey, which university are you from?
How many programming language you know?
How to return an array (not vector)
header files? next?
Crea un videojuego con c++ en un directo primero de estar ahi saludos de Sudamérica
❤😂😢😅😊 cover templates
We need oop
Watched whole playlist @1.75x
First
tenth
Hi Tim, I am 10 years old from India, I am fluent in HTML, CSS, JS, and Python, so I wanted to start a youtube channel but I was worried that if I want to get admitted to some college like MIT or Harvard then the people might think that I will not be able to focus because I have a youtube channel. Please tell me will it be a problem for me to get admitted to an Engineering college if I have a youtube channel, Congrats on 645k!
:)
What is a function?
Simply put, " a function is a program to automate tasks".
How about this?
66,746 Recruits
9,985 Survivors
As per the time of this comment
You teach a language that don't even understand. Do you know that {} in c++ in some cases is 0(zero)? Hahaha . You can go and learn a bit Mr. Teacher. hahaha
Look at the name of the series!
Fu*k of from here, just don't insult this great person like this, he is doing everything for free...if u want to learn something, learn and go, I am pretty much sure that Tim knows a lot greater than u🤬🤬