C++ FUNCTIONS (2025) - What are functions? PROGRAMMING TUTORIAL

  Рет қаралды 198,742

CodeBeauty

CodeBeauty

Күн бұрын

Пікірлер: 145
@CodeBeauty
@CodeBeauty 3 жыл бұрын
📚 Learn how to solve problems and build projects with these Free E-Books ⬇️ C++ Lambdas e-book - free download here: bit.ly/freeCppE-Book Entire Object-Pascal step-by-step guide - free download here: bit.ly/FreeObjectPascalEbook 🚀📈💻🔥 My Practical Programming Course: www.codebeautyacademy.com/ Experience the power of practical learning, gain career-ready skills, and start building real applications! This is a step-by-step course designed to take you from beginner to expert in no time! 💰 Here is a coupon to save 10% on your first payment (CODEBEAUTY_YT10). Use it quickly, because it will be available for a limited time.
@shakoorgilal4231
@shakoorgilal4231 Жыл бұрын
Please create computer science courses.
@deepaksai3637
@deepaksai3637 4 жыл бұрын
one has to understand functions after watching this because its a well defined teaching and you made it look so simply and easy...........
@Prizmadelik
@Prizmadelik Жыл бұрын
I just started attending college for my Computer Science degree. You are by far the best go to instructor whenever I need further explanations on a topic I am having a hard time to understand. Thank you!!!!
@SpinSilver
@SpinSilver 5 ай бұрын
You're a life-saver! I'm currently going to college at FullSail University and so far the instructors are not very in-depth. I'm learning more from you than this college I'm spending 40+ grand at for a degree lol.
@zulhisyamnaqib208
@zulhisyamnaqib208 3 жыл бұрын
i spend like 2 hours watching my lecture but still got nothing, but your video really help me understanding this topic.... thanks a lot!!!
@CodeBytes_Official
@CodeBytes_Official Жыл бұрын
Mam, I'm from south INDIA and I've watched several videos on this topic and also including my college lecturers, It never made me understand anything! Your 15 mins video has really helped me.. ❤
@srirama4356
@srirama4356 10 ай бұрын
I'm also, I'm from Tamilnadu bro
@hsyoutubechannel5744
@hsyoutubechannel5744 10 ай бұрын
me too bro I am from Afghanistan
@Hirusan
@Hirusan 3 жыл бұрын
I used to program in gwbasic and Pascal years ago but I forgot a lot of the fundamentals. Your videos are bringing them back to me. Thank you so much. I’m now planning to write a game.
@monoman4083
@monoman4083 4 жыл бұрын
This is what i need. Nice clear explanations in good style.
@clarrisac750
@clarrisac750 4 жыл бұрын
New playlist by CodeBeauty to be added into my watch list. Love your explanation!
@CodeBeauty
@CodeBeauty 4 жыл бұрын
You are so lovely. Glad to see that you are regularly visiting my channel! 😊
@jongofett2343
@jongofett2343 Жыл бұрын
I love your voice that you can just clearly speak and make it easy to understand compared to some other tutorials
@HAHAAAHAHAHAH94
@HAHAAAHAHAHAH94 8 ай бұрын
I have always been struggling making and learning about codes when I was in the 7th grade, after watching your vids I now understand coding, thank you
@CodeBeauty
@CodeBeauty 8 ай бұрын
I'm happy to hear that my videos are helpful to you 🥰
@JarekAtWork
@JarekAtWork Жыл бұрын
11:15 I like your enthusiasm when little things start to work.
@deepaksai3637
@deepaksai3637 4 жыл бұрын
You are explaining everything in detail and why are you not famous, you know i came here from that c++ crash course but trust me your channel videos are in much detail than the crash course ,may be i am lucky that i found your channel for learning
@vk2ig
@vk2ig 4 жыл бұрын
Great video series, thanks! I finished your "C++ For Beginners" series last night, and am now embarking on functions. Interesting how C++ needs a forward definition - some other languages needed that, but C# for example doesn't. It's things like this which I need to know in order not to be pulling my hair out when I start writing in C++. :D
@brookhaile6862
@brookhaile6862 2 жыл бұрын
Greetings from Maryland, USA. I came across your playlists on KZbin just recently. I really loved them! The way you explained and break things down are so easy and coherent . I like your analogies the way you explain for us to understand the concepts in programming. Your KZbin playlists will be one of my resource to understand C++ subject matter. My question will be, since I am on runway to dive in IT world from zero experience, I want to know what would be the day to day sedentary life? How do you manage being sitting Infront of computers for a long time in a day? Because my current job requires me to walk and move around everyday( which is more preferable for our over all health ). What kind of ergonomically built chairs , computers, keyboards I should consider? What would like to be programmer /coder in regards to office engagements , continuous meetings and etc? Thank you very much in advance
@andregrobler4393
@andregrobler4393 2 жыл бұрын
Fantastic explanation keeping explanations simple and concise, yet easy to understand. Excellent Saldina!
@day4834
@day4834 2 жыл бұрын
Hi Andre, the only thing that comes to my mind is that you might have used return in your main function: int main() { cout
@twosislm
@twosislm 6 ай бұрын
This is literally what i was looking for ! Thank u so much 😭💗
@CodeBeauty
@CodeBeauty 6 ай бұрын
🥰🥰
@abdulnawaz2272
@abdulnawaz2272 Жыл бұрын
Specify and your smile that was so amazing........Nice explanation.
@ahmed17476
@ahmed17476 2 жыл бұрын
thank you i spend four hours yesterday writing some code for skl n it didn't work i didn't know why until i watched ur vid turns out i left the words void before calling back my functions inside main, i want you to know that i greatly appreciate you . have a wonderful day
@pankajjhaatihar
@pankajjhaatihar 3 жыл бұрын
Good explanation with examples without skipped steps, this cannot be done by any KZbinr expect you. Awesome video Please make a video on How to make Zombie Shooting game using C++
@davidberry8511
@davidberry8511 3 жыл бұрын
Thanks for your brilliant tutorials. I am 62 years young and leraning to code and your channel is helping big time. My question is... When I copy your code and use "void main() {}" I get a compiler error showing I need to use "int void" why is this?
@florence8290
@florence8290 Жыл бұрын
i wish u were my teacher in college, wow great explanation skills
@tjsmail1
@tjsmail1 4 жыл бұрын
I've watched quite a few of your videos on C++ now and they are great. I also see you are on visual studio 2019 while doing so. You seem to buzz around that editor like crazy. Any chance you would do a video on shortcuts and things of that nature on the visual studio code? Thanks.
@dandon.3667
@dandon.3667 Жыл бұрын
These videos are so useful🫂💙 Thank you so much.
@itikanika8718
@itikanika8718 3 жыл бұрын
Thank you so much! Finally I know what function is and how make one.
@TechTalksMedia
@TechTalksMedia 11 ай бұрын
My anxiety after seeing the light mode 📈📈📈
@ingridgausin4140
@ingridgausin4140 3 жыл бұрын
This helps me a lot, Thanks!
@CodeBeauty
@CodeBeauty 3 жыл бұрын
🤗🤗🧡
@teores8312
@teores8312 4 жыл бұрын
So clear, so simple. Thx and big ++ from me ;)
@CodeBeauty
@CodeBeauty 4 жыл бұрын
🤗🥰
@tumusiimebrian3745
@tumusiimebrian3745 4 жыл бұрын
Thanks for the explanation Saldina🙏
@karansh491
@karansh491 4 жыл бұрын
This is the channel that i needed. Upload more videos! Great videos. And ma'am please also cover some advanced topics like templates and working with own heade files. I'm reaaly waiting for that videos to come. Thankyou 👨‍💼 Love from India!
@CodeBeauty
@CodeBeauty 4 жыл бұрын
Thanks! Much love for India! 🇮🇳
@lexicon8636
@lexicon8636 4 жыл бұрын
Thank you so much for this C++ tutorial. Your vids are awesome
@fatememaroofkhani7369
@fatememaroofkhani7369 3 жыл бұрын
Thank you for your clear explanation. YOU are awesome programmer
@shakoorgilal4231
@shakoorgilal4231 Жыл бұрын
The best tutorial...
@Jxkshshxcc
@Jxkshshxcc Жыл бұрын
i swear to you Madame that i have a teacher in 2 lessons he did not make me understand functions like you did n 15 minutes thank you so much ♥
@ranapour
@ranapour Жыл бұрын
Great video series, many thanks!
@russellburdette7003
@russellburdette7003 4 жыл бұрын
Thanks for your videos!! I have learned a lot from you
@CodeBeauty
@CodeBeauty 4 жыл бұрын
I'm happy to help! 🤗
@JohnDoe-fn1me
@JohnDoe-fn1me 4 жыл бұрын
Another great video 👏
@CodeBeauty
@CodeBeauty 4 жыл бұрын
John Doe, thanks! 😊
@davidkwesiampomah-yeboah2214
@davidkwesiampomah-yeboah2214 2 жыл бұрын
Thanks, you've really made life easy for me 😩
@ahmetyavuz769
@ahmetyavuz769 8 ай бұрын
thank you Dear Saldina😊
@CodeBeauty
@CodeBeauty 8 ай бұрын
You're welcome 😊
@200276644
@200276644 3 жыл бұрын
Great explanation!
@yaqootnawab4590
@yaqootnawab4590 2 жыл бұрын
i really want to learn more love ur concepts
@knight1w977
@knight1w977 2 жыл бұрын
main function is invoked by default instead of function? (4:52) time
@harshbardhanon4901
@harshbardhanon4901 3 жыл бұрын
NICE EXPLANATION .
@programmingwithsarah409
@programmingwithsarah409 4 жыл бұрын
Simply awesome !! Do you write your script for your videos ?or just outline your video ?
@al-meezanacademy4722
@al-meezanacademy4722 3 жыл бұрын
Video is very useful and simply. And as usual looking gorgeous
@HaVocHarMony
@HaVocHarMony 4 жыл бұрын
You’re awesome!!! Idk why I’m having the hardest time with functions, parameters and arrays, 2d arrays 😭😭😭 and on top of that combining them 😣
@Enscriptiv
@Enscriptiv 3 жыл бұрын
dude, me too.
@HaVocHarMony
@HaVocHarMony 3 жыл бұрын
@@Enscriptiv it’s the worst. I haven’t gone back to it 😩😭😭😭
@tayabfarooq7544
@tayabfarooq7544 3 жыл бұрын
Code beauty is really beautiful! Great explanations.
@MegaWeixin
@MegaWeixin Жыл бұрын
That is great explanation. In my thoughts , to classify function declaration and variable declaration it depends on with or without parantheses extensions , like this ? Sorry for my dummies.
@SaadAli-hh4ho
@SaadAli-hh4ho 4 жыл бұрын
While using void main i'm getting this error:4 11 C:\Users\Saad Ali\Desktop\main.cpp [Error] '::main' must return 'int' But its working fine with int main() kindly help
@CodeBeauty
@CodeBeauty 4 жыл бұрын
Actualy, in the case of main() it is recommended to use int, so the easiest way to fix the problem that you're having is to use int main(). Without getting into much detail, you should know that both int and void are return types of a function, and in the case of main() indicate the type of value that your main function is going to return to the operating system. void main() indicates that main is not going to return anything, and int main() indicates that it is going to return an integer value. In an ideal case scenario, both should work, but sometimes you can get into problems if you are using void main(), as you've already seen, so it is recommended to use int main() ☺️
@SaadAli-hh4ho
@SaadAli-hh4ho 4 жыл бұрын
@@CodeBeauty thank you☺️ Your work is awesome keep it up.
@DavidDomfeh
@DavidDomfeh Жыл бұрын
i also love your spectacles
@Ali_X20
@Ali_X20 Жыл бұрын
you are THE BEST
@larsverschoor
@larsverschoor 2 жыл бұрын
When i try to write cpp code in vscode, and then run the code, i get the error: cannot open source file "crtdbg.h" (dependency of "iostream") how do i solve this?
@Torstein159
@Torstein159 Жыл бұрын
Hi. What does : do in a comparison between 2 variables in a for loop?
@marktwainn5163
@marktwainn5163 3 жыл бұрын
Спасибо! Хороший туториал!
@hammozeen
@hammozeen 2 жыл бұрын
LOL. I love how to say "invoke" the function. It's like you are summoning it
@CodeBeauty
@CodeBeauty 2 жыл бұрын
😅😁
@ashrsfsiliman452
@ashrsfsiliman452 3 жыл бұрын
Effort deserves thanks
@33samogo
@33samogo 3 жыл бұрын
You have so many great tutorials, but as a not absolute C++ beginner, I don’t find myself the best at finding tutorials that are suitable for me. I know you always mention what we need to look first before we continue, but it would be very practical if you include the important links in your comment section bellow in each of your tutorial, to make Your_Tutorials_Map more organized and interactive. For example in this case "What are functions?", I would like so see in the comment section where this tutorial is positioned in the "YTM", is it in "Beginners", "Intermediate", "Advanced" section, what is the link of playlist ( the index of tutorial present in the tutorial name would very useful) and recommended or mandatory links that are good to check before this tutorial to, In this way I can easily find the way out to tutorials that I need to learn or review, if I find myself in trouble following you. If it's easier for you, just include one YTM link in comments where we can always find all links to your great tutorials in more organized and interactive way as in the case of your KZbin Playlist folder. You are great, thank you!
@meekareth5092
@meekareth5092 2 жыл бұрын
Thank you, subscribed
@Alwaysalearner123
@Alwaysalearner123 Жыл бұрын
Clarity and concept ++
@muhammadrehan2418
@muhammadrehan2418 4 жыл бұрын
Really nice content 🤩
@ahmadosama2652
@ahmadosama2652 2 жыл бұрын
Hi Saldina, Is it possible to recommend a site for us to solve simple problems for beginners?
@Gallardo6669
@Gallardo6669 3 жыл бұрын
Excellent, thank you madam
@Y.S_ComputerAcademy
@Y.S_ComputerAcademy 2 жыл бұрын
*To learn about C++ Functions see Tutorial:* kzbin.info/www/bejne/pWfLY6qGptOce9E yscomputeracademy.blogspot.com/2022/09/c-functions.html
@hairuldon6644
@hairuldon6644 6 ай бұрын
difference with looping tho? fucntions is so that u can use many times wasnt it is the same for looping?
@04s.u
@04s.u 3 жыл бұрын
Nice explain 👍🏻
@dominiclogue5924
@dominiclogue5924 3 жыл бұрын
What's the difference in using /n or endl?
@Rohan_salunkhe94
@Rohan_salunkhe94 2 жыл бұрын
Thax mam love frome india❤️
@joshuakaswahili3279
@joshuakaswahili3279 2 жыл бұрын
good lecture👍
@khaledvevo603
@khaledvevo603 9 ай бұрын
Thank You So Much
@ROYALNIL_SITE
@ROYALNIL_SITE Жыл бұрын
GOOD. thanks 🙂
@Esau-d3h
@Esau-d3h 3 ай бұрын
Your tutorial s are really helpfull and i understand reall good just one request please USE DARK..LIGHT MODE WILL ATTRACT BUGS😢😢😢😢😢
@CodeBeauty
@CodeBeauty 3 ай бұрын
i see a potential for developer in you :D
@Esau-d3h
@Esau-d3h 3 ай бұрын
@@CodeBeauty thanks
@whiskyyt5220
@whiskyyt5220 2 жыл бұрын
I got a crush on you 🙈❤️ i understand your explanations very well also got highest marks in my exam after watching your lectures , thanks Alot for your efforts to make dumbs like us understand programming 😄
@vidyprasad
@vidyprasad 3 жыл бұрын
how to write initwindow function in visual c++ please make the video (output full screen )
@boussaidbenyamina6170
@boussaidbenyamina6170 2 жыл бұрын
hi great job but the code don't run the compiler ask me to use int function and not void any help please
@TheRuart123
@TheRuart123 2 жыл бұрын
Just change your main function to int main() and add a return 0: before }
@Steviecyanide444
@Steviecyanide444 11 ай бұрын
why does my void function keep giving me an error saying the function has to return an integer
@Psychically420
@Psychically420 2 жыл бұрын
PLS HELP I keep getting this error message, "Cannot build and debug because the active file is not a C or C++ source file", I ran the same script shown on your screen.
@tusharchauhan6764
@tusharchauhan6764 3 жыл бұрын
Why don't we have to call main function like others, is it predefined in the header files??
@TheRuart123
@TheRuart123 2 жыл бұрын
All your programs start with the main function.
@ΧρυσοβαλαντηςΤασιοπουλος
@ΧρυσοβαλαντηςΤασιοπουλος 3 жыл бұрын
You dont explain the system("pause>0"); what is the function of that statement ?
@AW-si5jh
@AW-si5jh 3 жыл бұрын
This is a late reply, but I believe she mentioned in another video that it is used to get rid of text that is automatically printed in the command prompt window. You can remove it if you want and see the text that is printed. According to my C++ book, if your main isn't void, you can use "return 0;" to get rid of the text as it indicates the program executed successfully. But because her main function is *void*, she cannot use "return 0;" to get rid of the text in the command prompt window when executed.
@DavidDomfeh
@DavidDomfeh Жыл бұрын
i love you soooooooooooooooooooooo much you are the best
@gtoakley6489
@gtoakley6489 Жыл бұрын
thanks for making so clear. I have a question- I've been experimenting when watching this video... why is it not reading out the result when I input the elements inside main() //-----------------------------------outside main()-------------------------- int formula (int x, int y, int z) { int answer; answer = (x * y) + z; return answer; std::cout
@vidyprasad
@vidyprasad 3 жыл бұрын
how to write initwindow function in visual c++
@xqcfan
@xqcfan 2 жыл бұрын
what software are you using to write this code on?
@TheRuart123
@TheRuart123 2 жыл бұрын
Microsoft Visual studio
@mohtdips277
@mohtdips277 4 жыл бұрын
Thank you, Saldina. I hope for a moment, I meet with you for one picture for the memory only ... because you are really an influential person
@shaikhussaina7687
@shaikhussaina7687 2 жыл бұрын
Hi Beauty can u write this 152J5A001 ,numbers and characters both are do write this in cpp
@oldhararian
@oldhararian 2 жыл бұрын
I love the content but may you please use dark mode
@krutimsahanam1052
@krutimsahanam1052 2 жыл бұрын
Hello code beauty which ide it is
@raysonkoo5823
@raysonkoo5823 4 жыл бұрын
whats is mean by line 10
@muzammaljutt5135
@muzammaljutt5135 Жыл бұрын
hello dear i hope you are well ! one thing i notices that your vedios sound is not clear please use microphone to recorde our voice thank you @codeBeauty
@vinaylofi3105
@vinaylofi3105 2 жыл бұрын
Make video on strings
@elmeddinhecbalayev9043
@elmeddinhecbalayev9043 3 жыл бұрын
what is your IELTS level?
@pubguyspubguys2233
@pubguyspubguys2233 3 жыл бұрын
thanks a lot
@zonaedahmed1819
@zonaedahmed1819 3 жыл бұрын
Thank you
@kennyeko2801
@kennyeko2801 2 жыл бұрын
So guys my teacher said I should write out 50 functions and define each one can you guys help
@nourazzam3850
@nourazzam3850 2 жыл бұрын
thanks!
@isaacgreawond9160
@isaacgreawond9160 Жыл бұрын
Hi! My name is Isaac, a computer science student from Ghana. I want to be a friend learn more about coding from you. I hope my request will be granted. Nice meeting you.
@ismailyousfi3521
@ismailyousfi3521 2 жыл бұрын
thenks
@subee128
@subee128 2 жыл бұрын
Thanks
@yarasaleh5315
@yarasaleh5315 2 жыл бұрын
Please I need more examples help me 🥺💔
@amanuelayele-971
@amanuelayele-971 Жыл бұрын
Pls do same game using c++..
@lifetube2214
@lifetube2214 3 жыл бұрын
Im not native but got it utterly
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Object Oriented Programming (OOP) in C++ Course
1:30:26
freeCodeCamp.org
Рет қаралды 2,6 МЛН
Functions in C++ | Introduction to Functions | C++ Placement Course | Lecture 64
40:10
Lambda expressions in modern C++ (in depth step by step tutorial)
18:35
What are header files in C++ ( PROGRAMMING TUTORIAL for beginners)
23:54
Friend functions and classes in C++ (Programming for beginners)
18:18
Learn C++ With Me #20 - Functions
26:14
Tech With Tim
Рет қаралды 59 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН