C++ Programming Tutorial 10 - Intro to Functions

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ม.ค. 2025

ความคิดเห็น • 46

  • @codebreakthrough
    @codebreakthrough  6 ปีที่แล้ว +12

    Learn Javascript - bit.ly/JavaScriptPlaylist
    Learn Java - bit.ly/JavaPlaylist
    Learn C# - bit.ly/CSharpTutorialsPlaylist
    Learn C++ - bit.ly/CPlusPlusPlaylist
    Learn C - bit.ly/CTutorialsPlaylist

  • @cloaky6973
    @cloaky6973 4 ปีที่แล้ว +15

    if pow doesnt work with u make sure u insert the #include

  • @richardcarberry831
    @richardcarberry831 3 ปีที่แล้ว +16

    A function is a reusable sequence of statements designed to do a particular job.

  • @PunmasterSTP
    @PunmasterSTP 3 ปีที่แล้ว +9

    It's hard to imagine studying C++ without your videos and being able to function. In all seriousness, this is another phenomenal video, and thank you so much for sharing your knowledge and expertise!

  • @toddh2327
    @toddh2327 4 ปีที่แล้ว +21

    Well done! I appreciate the time and attention you have put into these short but informative videos. Very helpful.

  • @technocuber7177
    @technocuber7177 2 ปีที่แล้ว

    dude I love how you explain everything in a simple manner, it makes debugging so much easier and makes it easier to understand what an error is talking about, you're awesome dude

  • @lukasholcer425
    @lukasholcer425 5 ปีที่แล้ว +6

    I really enjoy your videos Caleb!
    Your indepth explanation makes it easy to understand, and I am having lots of fun learning to code!
    Keep up the good work!

  • @itsaeri9403
    @itsaeri9403 2 ปีที่แล้ว +1

    dang this video is from three years ago and the quality is still so good

  • @HaseebMirza-f8y
    @HaseebMirza-f8y ปีที่แล้ว

    This was the simplest and best explanation of Intro to Functions that I have come across.

  • @snuuky8814
    @snuuky8814 3 ปีที่แล้ว +1

    THANK YOU MAN. You make my learning journey fun through your humor

  • @usamasiddiqui2929
    @usamasiddiqui2929 5 ปีที่แล้ว +3

    I love your videos sir... with very simple lingo... with some great humor

  • @sunrise_vlogs_daily
    @sunrise_vlogs_daily 4 ปีที่แล้ว +4

    Can we pass an expression as arguments to the function??

  • @jesstrek
    @jesstrek 5 ปีที่แล้ว +6

    I was having trouble understanding functions and arguments/parameters so I looked up some help guides and made my own. All it does is multiply two numbers but I made it and it's mine. lol.
    int multiplication(int num1, int num2) {
    // this will accept two numbers and multiply them when the function is called
    int product;
    product = num1 * num2;
    return product;
    }

    • @jesstrek
      @jesstrek 5 ปีที่แล้ว

      I have a better understanding of them now. They seemed really daunting.

    • @codebreakthrough
      @codebreakthrough  5 ปีที่แล้ว +11

      Awesome! You can simplify it further by saying:
      return num1 * num2;
      That’s it! 😊

  • @creativexgamer5845
    @creativexgamer5845 2 ปีที่แล้ว +4

    start at 1:30

  • @preciouskafula1680
    @preciouskafula1680 3 ปีที่แล้ว +1

    Ur tutorials have been so helpful... you are amazing, thank u.

  • @musasey2045
    @musasey2045 3 ปีที่แล้ว

    hi,any vidoe on how to use the c++ builder for writing programms and executing them.

  • @tareqsrepublic
    @tareqsrepublic 2 ปีที่แล้ว

    you are a great teacher

  • @fatinidris5091
    @fatinidris5091 5 ปีที่แล้ว +1

    SUPERB!

  • @daleoverstreet9074
    @daleoverstreet9074 9 หลายเดือนก่อน

    I like the effort, but i feel as though it would be better if you screen shared actual code, it'd kind of difficult to learn something brand new and visualize what you are trying to talk about. Good video, good luck.

  • @joshuadeione9805
    @joshuadeione9805 ปีที่แล้ว

    great video. I have a question, if you are multiplying 2 integers such as 10 x 10 or 10 ^ 2 why does it return a double rather than an integer? Because the answer is 100 * 2 which is 200 and both of those numbers are whole. I also ran in to the same problem on a project i had where I was trying to divide 2 integers together like 25/55 and it was returning 0. I figured out that the ACTUAL answer was like 0.4 or something along those lines and since they were integers i had to static_cast them to doubles to get the actual accurate answer i wanted. In this case, is that whats going on? I'm just a little confused and would like to know whats going on behind the scenes.. Thanks in advance!

  • @Binichmoses2
    @Binichmoses2 2 ปีที่แล้ว +1

    Video literally starts at 1:30 ...

  • @brennanb3919
    @brennanb3919 3 ปีที่แล้ว

    Thank you!!

  • @krish-ut9de
    @krish-ut9de 2 ปีที่แล้ว

    watched. Very interesting

  • @ABZ98990
    @ABZ98990 5 ปีที่แล้ว

    What's the namespace used for power predefined function?

    • @ABZ98990
      @ABZ98990 5 ปีที่แล้ว

      Yeah..... Figured in his next vdo

  • @migishacker2488
    @migishacker2488 3 ปีที่แล้ว

    Thanks man :)

  • @user-he3kk7lf4f
    @user-he3kk7lf4f 6 ปีที่แล้ว +2

    keep it up Caleb you are Awesome! I want you to Continue your C tutorials too I want to have a clear understanding of Switches and loops. No one Explains like you

    • @codebreakthrough
      @codebreakthrough  6 ปีที่แล้ว +3

      Thank you! Let me know if there is any confusion. How do you like C++ over C?

    • @user-he3kk7lf4f
      @user-he3kk7lf4f 6 ปีที่แล้ว +2

      @@codebreakthrough no Caleb how can there be any confusion when it is explained by you 😁 you really explained it well better than others on youtube i am a student of Bachelors in Computer Science and so far you are the only TH-camr whom I can call my teacher so Thanks Caleb for helping me... ❤ and yeah C++ is much better than C as you said its a better version of C its more flexible , defined and easy and the best part is you can create your own functions 👌

  • @ismailyousfi3521
    @ismailyousfi3521 2 ปีที่แล้ว

    thenks

  • @jaymike5062
    @jaymike5062 4 ปีที่แล้ว

    Funk Shins. My shins are funky fresh

  • @parsaai2362
    @parsaai2362 4 ปีที่แล้ว +2

    👏👍

  • @deleted_handle
    @deleted_handle 2 ปีที่แล้ว

    you say dont want to waste my time but YOU KEEP TALKING ABOUT THAT SPONSOR

  • @kaela09
    @kaela09 4 ปีที่แล้ว +1

    I'm having a hard time with these someone send help

  • @HertoioLoco
    @HertoioLoco 5 ปีที่แล้ว +1

    I saw math and panicked. Should i panic?

    • @louisuchihatm2556
      @louisuchihatm2556 4 ปีที่แล้ว

      we are doing this for math....arent we?

    • @HertoioLoco
      @HertoioLoco 4 ปีที่แล้ว

      @@louisuchihatm2556 I don't know, people keep saying you don't need to be a mathgenius to code but here we are...

    • @louisuchihatm2556
      @louisuchihatm2556 4 ปีที่แล้ว +1

      @@HertoioLoco knowing math is different from been a math genious...
      you just need to know math...everything flows

  • @charmilla5098
    @charmilla5098 5 ปีที่แล้ว +1

    Great tutorials too bad so less viewes

    • @PunmasterSTP
      @PunmasterSTP 3 ปีที่แล้ว

      I completely agree! I think Socratica is another channel with programming videos that deserves much more exposure ( th-cam.com/play/PLi01XoE8jYohWFPpC17Z-wWhPOSuh8Er-.html ).

  • @hazerasarker2442
    @hazerasarker2442 ปีที่แล้ว

    I love chicken curry

  • @andrewgreen2059
    @andrewgreen2059 4 หลายเดือนก่อน

    Okay this vid is a little hard to get