C++ Programming: Intro to Arrays Part I

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

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

  • @Phalvesaurus
    @Phalvesaurus 7 ปีที่แล้ว +51

    When you're hungover in your uni lecture and have to teach it yourself from scratch.

  • @AdnanRizvan
    @AdnanRizvan 10 ปีที่แล้ว +31

    Didn't really understand this lecture at college,but the video really cleared a lot of things up,thanks yo :)

  • @ShOoThErZzZ
    @ShOoThErZzZ 12 ปีที่แล้ว

    yours are definitively the best c++ tutorials for beginners you can find on the net!

  • @teeman9266
    @teeman9266 11 ปีที่แล้ว +20

    This guy was my professor in college, really cool guy!

  • @iamdreamsar
    @iamdreamsar 9 ปีที่แล้ว +7

    I have been stuck in array for 3 months, couldn't understand what is it actually, what is the importance of array & why we use array in programming. To be honest after seeing this video a couple of my confusions have been removed & if I do practice & solve different kind of problems using the array I think I will get the whole concept of array. Thank you so much for this effective video, I appreciate :)

    • @神烦狗
      @神烦狗 7 ปีที่แล้ว

      stuck in array for 3 months? Sorry dude you are kinda stupid lol.

  • @tebiren
    @tebiren 8 ปีที่แล้ว +3

    Awesome Video, short, simple and to the point!. I have a final tomorrow involving Arrays and this just sped up my reading lol Thank You

  • @z_thornton
    @z_thornton 7 ปีที่แล้ว +1

    Great lesson. Clear, concise, and easy to follow. Thumbs up and subscribed. Thank you!

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

    So grateful for the quality of this lesson. Thanks for the upload.

  • @kodeeswaranb2943
    @kodeeswaranb2943 7 ปีที่แล้ว

    simply superb.....much better than my teacher.....😍😍

  • @ramumagar6981
    @ramumagar6981 12 ปีที่แล้ว

    grate job whoever u r. there are 1000 of tutorial in youtube and only few of them are effective and u are few of the those good tutor thank you

  • @anthonybostock
    @anthonybostock 10 ปีที่แล้ว +1

    Great video. You're my new teacher.

  • @quanronghu4900
    @quanronghu4900 10 ปีที่แล้ว +22

    YAY you are way better than my professor

    • @mogonly9898
      @mogonly9898 8 ปีที่แล้ว

      HI GUYS...PLZ CHECK OUT MY CHANEEL

    • @stranger5891
      @stranger5891 8 ปีที่แล้ว

      name is mog LOL

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

    thanks a lot for this i like how you explained the words that didnt quite add up like contagious yhis was awsome and i hope you make
    more

  • @smokestrong1000
    @smokestrong1000 7 ปีที่แล้ว

    thanks so much. i was so lost in the 4 hour lecture yet i figured it all out just from this short video. my teacher doesn't explain things well he's indian and can barely understand him =(

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

    So easy to follow!! I'm subscribing!

  • @Dreablog
    @Dreablog 12 ปีที่แล้ว +3

    I really like your tutorials, you've helped me a lot!! keep with the good Job!

  • @jeremysavala
    @jeremysavala 9 ปีที่แล้ว

    Thanks for this video ! Great Instructor, Easy to understand , and took it slow and explained everything!!

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

    I know the video is old, but love you so much man, thanks for your help!!!

  • @mohdadyg
    @mohdadyg 12 ปีที่แล้ว

    Hi,
    Clear voice, clear explanations for an unclear subject; Continue the good work. Looking for more detailed examples on Operator overloading... hope you could do.

  • @albusaidi29
    @albusaidi29 9 ปีที่แล้ว +1

    It is easy to use for loop instead to write and define each arrays elements. Make your program simple and looks nice

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

    finally ,a video without a heavy accent!!!

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

      Shut up white swan

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

    Excellent explanation..i got it

  • @cecilgarapo
    @cecilgarapo 12 ปีที่แล้ว

    this is so easy to understand good job

  • @4c00h
    @4c00h 12 ปีที่แล้ว

    You're a champ dude, you make everything sound simple =]

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

    Vary clear - thank you for posting!

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

    a number of good points in this video

  • @AleX3derS
    @AleX3derS 6 ปีที่แล้ว

    this video save me lots of time

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

    Do 2D arrays have 2 indexes 1 counting all the elements in each row or column and another counting the number of rows and columns in the array rather than counting the elements individually

  • @jorgex2000
    @jorgex2000 10 ปีที่แล้ว

    This is the first time watching your videos, great video! What compiler/"software" are you using?

    • @hightechredneck_0566
      @hightechredneck_0566 10 ปีที่แล้ว +2

      In the video @ 6:55 he said he's using Eclipse.

    • @albusaidi29
      @albusaidi29 9 ปีที่แล้ว +2

      CodeBlocks are very simple and great to use

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

      Use VS

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

    this is so easy to follow thank you

  • @leonardotornesello930
    @leonardotornesello930 7 ปีที่แล้ว

    that means that I could use an array to set more than 1 number/word to a variable?

  • @pinaduabaus9458
    @pinaduabaus9458 10 ปีที่แล้ว +2

    where did you define "i" before using for loop ?

    • @RdsDirtyGaming
      @RdsDirtyGaming 10 ปีที่แล้ว +8

      he defined it inside the for loop. int i=0

  • @faizansaleem4423
    @faizansaleem4423 9 ปีที่แล้ว

    well this was really helpful for me but I have a question that when I practiced arrays I wrote something like this float rainfall [5] and then I stored an integer type value in 2nd element and it didn't gave any error so kindly tell me that how can we specify an array to a particular type like integer or floatsorry for bad english

  • @ReelLearning
    @ReelLearning  12 ปีที่แล้ว

    Thanks! I will put more operator overloading on my todo list.

  • @jianguoliu1714
    @jianguoliu1714 7 ปีที่แล้ว

    Can you explain to me how to set up Eclipse in order to do the debugging? I have a lot of troubles to get it working. Thank you!

  • @Haxr-dq6wt
    @Haxr-dq6wt 7 ปีที่แล้ว

    great explaining thank you.
    what is the name of your IDE ?

  • @dwipshekharmondal3877
    @dwipshekharmondal3877 8 ปีที่แล้ว

    how do i make an array in which the values are inputed by the user and which can carry as many values as it can and the values can be modified and calculated(like sum,division multiply etc). or it cant be made ?? someone plz answer.
    lang : python, c++

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

    How can I make a program to show the smallest value in an array?

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

    Which Compiler is this guy using?

  • @deadaccount2288
    @deadaccount2288 9 ปีที่แล้ว

    I want to do something similar, but I want to assign actual words instead of numbers, is there a way?

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

      +Joshua Gutierrez: Words in an Array? Yes you can. Just use 'char' type array. If you want to put words in every element of array then use 'string' type. For example:
      string str_array[2];
      str_array[0] = "Hello ";
      str_array[1] = "World!!!";

    • @julius7824
      @julius7824 8 ปีที่แล้ว

      does that work on Turbo c++?

    • @fahadmirza8
      @fahadmirza8 8 ปีที่แล้ว

      Yes, it should! As long as it is C++

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

    What compiler do you use for c++?

  • @muhaiminiqbal1840
    @muhaiminiqbal1840 6 ปีที่แล้ว

    which compiler you use in this video ??

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

    Great!

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

    Great stuff!!

  • @RussTeeTrombone
    @RussTeeTrombone 6 ปีที่แล้ว

    This is great. Thanks so much.

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

    Thank you for this!

  • @Mr.repost_k1
    @Mr.repost_k1 ปีที่แล้ว

    pls what IDE are you using?

  • @SahilShaikh-dd5rx
    @SahilShaikh-dd5rx 6 ปีที่แล้ว

    Which is being used over here?

  • @yashjhade2337
    @yashjhade2337 9 ปีที่แล้ว +2

    Thanks . Helped me :)

    • @mogonly9898
      @mogonly9898 8 ปีที่แล้ว +1

      HI YASH PLZ CHEK OUT MY CHANNEL PLZZZZ!

    • @stranger5891
      @stranger5891 8 ปีที่แล้ว +1

      no

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

    This is a clean view

  • @HassanAli-nc5sk
    @HassanAli-nc5sk 4 ปีที่แล้ว

    what is the name of the compiler?

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

    how could i make all the elements the same without having to go through each variable and assigning it to what i want?

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

      TypeofData Rainfall[5] = { the value, the value, the value, etc};

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

      You can use a for loop

  • @perrynevergiveup
    @perrynevergiveup 11 ปีที่แล้ว

    what is the different between array and vector? Thanks in advance

  • @TheStygianAbyss24
    @TheStygianAbyss24 10 ปีที่แล้ว

    would this be a syntax error?
    int num;
    cout

    • @jbh759
      @jbh759 10 ปีที่แล้ว

      I think you might need cin>> _(var goes here)_; after the 2nd line. Correct me if I'm wrong.

    • @TheStygianAbyss24
      @TheStygianAbyss24 10 ปีที่แล้ว

      yeah i forgot to add, but if i input it into num, i can use it into array?

    • @mickyyyyyy555
      @mickyyyyyy555 8 ปีที่แล้ว

      This would storeday is array and num is the index. I think you should use like int storeday[10]; then get the input using for loop or whatever you prefer.

  • @rosefayne9854
    @rosefayne9854 9 ปีที่แล้ว +1

    Very helpful
    Thank you (y)

  • @sidkonnar5130
    @sidkonnar5130 6 ปีที่แล้ว

    thank you sir. Helped me a lot!

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

    which complier you use

  • @AshLey-px5fn
    @AshLey-px5fn 6 ปีที่แล้ว

    He explain so well but my English not good enough I wish they had the subtitles in French

  • @TheFlyguy31
    @TheFlyguy31 9 ปีที่แล้ว

    Thank you very much. Very well explained

  • @kinggospeltz5950
    @kinggospeltz5950 7 ปีที่แล้ว

    I did nat see declaration of "int i" in your program tho its works and gave you an output how that happen

    • @ritesh146
      @ritesh146 7 ปีที่แล้ว

      He declared i inside the "for" loop. for(int i = 0; i < 5; i++)

    • @kinggospeltz5950
      @kinggospeltz5950 7 ปีที่แล้ว

      Okay thanks

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

    Very good

  • @ckbapps2009
    @ckbapps2009 9 ปีที่แล้ว

    Which software you are using?

  • @rventura201
    @rventura201 6 ปีที่แล้ว

    great video!

  • @BishoyGaballah
    @BishoyGaballah 11 ปีที่แล้ว +6

    4:20
    itsn't a 'C' char .. it's a smily face :)

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

    Are you an Indian as you are very good at teaching programming

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

    Thanks sir👍

  • @alltopics5400
    @alltopics5400 2 ปีที่แล้ว +3

    Anyone in 2022 April

  • @solomonkahsay7434
    @solomonkahsay7434 7 ปีที่แล้ว

    please answer this qution how to program 10 numbers sort by even or odd

    • @daniealmohd2799
      @daniealmohd2799 6 ปีที่แล้ว

      solomon Kahsay make 1 that can be divided by 2 and 1 that can’t be divided by 3

  • @biancalaserna2525
    @biancalaserna2525 6 ปีที่แล้ว

    Can this work with finding for the nth term?

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

      You need to define the array accordingly. With a for loop, and if else conditional check, it would be simpler.

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

    what ide you use?

  • @shekharmaela2308
    @shekharmaela2308 10 ปีที่แล้ว

    Can you do something like cout

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

      No. It doesn't work like that. Since rainfall[I] is a position definition.

  • @ReelLearning
    @ReelLearning  12 ปีที่แล้ว +2

    Thanks!

  • @Tobe580
    @Tobe580 9 ปีที่แล้ว +1

    Very helpful, thanks!

  • @ShuyanStoryTeller
    @ShuyanStoryTeller 8 ปีที่แล้ว +1

    Thank you so much.

  • @BobTheZealot
    @BobTheZealot 10 ปีที่แล้ว +3

    isn't it supposed to be:
    for ( int i = 0; i < 5; ++i )

    • @BobTheZealot
      @BobTheZealot 10 ปีที่แล้ว +1

      But it works both ways.

    • @jpkfox
      @jpkfox 10 ปีที่แล้ว +1

      ***** No that is not correct. It will run the ++i section at the *end* of the for loop bracked section ( { } ), so when the the for -loop reaches } -line (or passes the last line or the for-loop body, how ever you want say it), then it will do ++i. After ++i it will check the condition i < 5. Note that it is done like this:
      ++i;
      i < 5
      and NOT:
      ++i < 5 (or i++ > 5)
      Thus ++i (or i++) if fully finished first and i is increased by one in both situations before testing i < 5.
      Thats why ++i and i++ will always give the same result in these loops - it does not matter which one you use, it will run the same amount of loops. But its possible that ++i is faster than i++ (at least in some compilers), thats why I prefer alwasy ++i.

    • @jpkfox
      @jpkfox 10 ปีที่แล้ว +1

      Bob, yes I think that is a better way to do it. Its possible faster also.

    • @sirmarxson26
      @sirmarxson26 6 ปีที่แล้ว

      thats so rude-y... hahahahahah

  • @menardkatavare9854
    @menardkatavare9854 6 ปีที่แล้ว

    thank you i understood

  • @SusanChan97
    @SusanChan97 12 ปีที่แล้ว

    good job!!

  • @ushahishaik9621
    @ushahishaik9621 8 ปีที่แล้ว

    I can't understand 2d arrays

  • @shimelskebede4357
    @shimelskebede4357 6 ปีที่แล้ว

    it is important studing

  • @stephanedu334
    @stephanedu334 8 ปีที่แล้ว +2

    that is C array, not C++ array

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

      Mister Cipipeew whats the difference

  • @gudmoments
    @gudmoments 6 ปีที่แล้ว

    thank you

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

    Good

  • @cherrelynjoymoreno5289
    @cherrelynjoymoreno5289 10 ปีที่แล้ว

    I love it... Thanks :)

  • @mohmenu
    @mohmenu 11 ปีที่แล้ว

    That is another example code i did for an array
    pastebin.com/i05nTLEk

  • @amanrk8012
    @amanrk8012 6 ปีที่แล้ว +1

    How I can download turbo c++ in my laptop windows 7

  • @amaliavina4029
    @amaliavina4029 7 ปีที่แล้ว

    thanks

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

    thx a lot bro
    Jesus loves you
    Believe in him and repent !

  • @HarisKhan-dy8qe
    @HarisKhan-dy8qe 6 ปีที่แล้ว

    very help full video than k u sir.
    sir i need loop programs and pointer programs with full source code.

  • @shehabkhan637
    @shehabkhan637 9 ปีที่แล้ว +21

    Why do you sound sooooo much like Bill Gates?

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

      Bill Gates is teaching us. LOL

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

      like brooooooo 🙆‍♀️🔥

  • @bontle_mothopeng
    @bontle_mothopeng 9 หลายเดือนก่อน +1

    who is here in 2024 May?

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

      🫠🫠

  • @SP-qf6mn
    @SP-qf6mn 7 ปีที่แล้ว +1

    When in doubt TH-cam it

  • @PalitoTechnologies
    @PalitoTechnologies 8 ปีที่แล้ว +1

    it is a c++ array and not c nolimite ehn

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

    Bro make more vidos

  • @Nerdo47
    @Nerdo47 9 ปีที่แล้ว

    yeh...dude u do sound more like Mr.Gates

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

    Yawa imo volume hinay kaayu yawaa ka

  • @vandansdwivedi3905
    @vandansdwivedi3905 8 ปีที่แล้ว +1

    sir CCC new syllabus 2016

  • @shawnkhoo1949
    @shawnkhoo1949 6 ปีที่แล้ว

    too much nonsense

  • @Adriansqpants
    @Adriansqpants 6 ปีที่แล้ว

    explain better than my professor whose a graduate from Stanford

  • @ReelLearning
    @ReelLearning  12 ปีที่แล้ว +1

    Thanks!

  • @HarisKhan-dy8qe
    @HarisKhan-dy8qe 6 ปีที่แล้ว

    very help full video than k u sir.
    sir i need loop programs and pointer programs with full source code.