C++ Programming: Intro to Arrays Part I

Поделиться
HTML-код
  • Опубликовано: 21 янв 2025

Комментарии • 157

  • @AdnanRizvan
    @AdnanRizvan 10 лет назад +31

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

  • @Phalvesaurus
    @Phalvesaurus 7 лет назад +51

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

  • @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 3 года назад

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

  • @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

  • @Dreablog
    @Dreablog 12 лет назад +3

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

  • @anthonybostock
    @anthonybostock 10 лет назад +1

    Great video. You're my new teacher.

  • @kodeeswaranb2943
    @kodeeswaranb2943 7 лет назад

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

  • @quanronghu4900
    @quanronghu4900 10 лет назад +22

    YAY you are way better than my professor

  • @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

  • @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.

  • @lucguevara5406
    @lucguevara5406 2 года назад

    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

  • @4c00h
    @4c00h 11 лет назад

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

  • @melissasoon3459
    @melissasoon3459 8 лет назад +4

    So easy to follow!! I'm subscribing!

  • @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 =(

  • @absoftware679
    @absoftware679 4 года назад

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

  • @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

  • @sharoonaftab8894
    @sharoonaftab8894 4 года назад

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

  • @cecilgarapo
    @cecilgarapo 12 лет назад

    this is so easy to understand good job

  • @leonardotornesello930
    @leonardotornesello930 7 лет назад

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

  • @HassanAli-nc5sk
    @HassanAli-nc5sk 4 года назад

    what is the name of the compiler?

  • @AleX3derS
    @AleX3derS 6 лет назад

    this video save me lots of time

  • @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++

  • @Mr.repost_k1
    @Mr.repost_k1 Год назад

    pls what IDE are you using?

  • @SqwareCircle10
    @SqwareCircle10 5 лет назад

    finally ,a video without a heavy accent!!!

    • @bscit4219
      @bscit4219 5 лет назад +1

      Shut up white swan

  • @muhammadaadil3546
    @muhammadaadil3546 5 лет назад

    which complier you use

  • @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!

  • @muhaiminiqbal1840
    @muhaiminiqbal1840 6 лет назад

    which compiler you use in this video ??

  • @SahilShaikh-dd5rx
    @SahilShaikh-dd5rx 6 лет назад

    Which is being used over here?

  • @keaknowzz8416
    @keaknowzz8416 5 лет назад

    What compiler do you use for c++?

  • @funmadefunny5917
    @funmadefunny5917 5 лет назад

    Which Compiler is this guy using?

  • @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

  • @kejatori
    @kejatori 5 лет назад

    what ide you use?

  • @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++

  • @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

  • @AndrewDChristie
    @AndrewDChristie 5 лет назад

    a number of good points in this video

  • @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

  • @Haxr-dq6wt
    @Haxr-dq6wt 7 лет назад

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

  • @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

  • @cindylara3846
    @cindylara3846 5 лет назад

    this is so easy to follow thank you

  • @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.

  • @krishnaflight
    @krishnaflight 5 лет назад

    Great!

  • @jorgex2000
    @jorgex2000 10 лет назад

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

  • @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

  • @carlasanchez4349
    @carlasanchez4349 2 года назад

    Vary clear - thank you for posting!

  • @jeremysavala
    @jeremysavala 9 лет назад

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

  • @vidhyamayilvaganan7716
    @vidhyamayilvaganan7716 4 года назад

    Excellent explanation..i got it

  • @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.

  • @ckbapps2009
    @ckbapps2009 9 лет назад

    Which software you are using?

  • @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.

  • @RussTeeTrombone
    @RussTeeTrombone 6 лет назад

    This is great. Thanks so much.

  • @amanrk8012
    @amanrk8012 6 лет назад +1

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

  • @BishoyGaballah
    @BishoyGaballah 11 лет назад +6

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

  • @ReelLearning
    @ReelLearning  12 лет назад +2

    Thanks!

  • @ttyjonn
    @ttyjonn 3 года назад

    Great stuff!!

  • @yashjhade2337
    @yashjhade2337 9 лет назад +2

    Thanks . Helped me :)

  • @ushahishaik9621
    @ushahishaik9621 8 лет назад

    I can't understand 2d arrays

  • @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

  • @ReelLearning
    @ReelLearning  12 лет назад

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

  • @proxyiostream1511
    @proxyiostream1511 4 года назад

    This is a clean view

  • @rventura201
    @rventura201 6 лет назад

    great video!

  • @tanmay5855
    @tanmay5855 4 года назад

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

  • @rosefayne9854
    @rosefayne9854 9 лет назад +1

    Very helpful
    Thank you (y)

  • @AshLey-px5fn
    @AshLey-px5fn 6 лет назад

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

  • @ShuyanStoryTeller
    @ShuyanStoryTeller 8 лет назад +1

    Thank you so much.

  • @muhammadakmal4025
    @muhammadakmal4025 11 месяцев назад

    Thank you for this!

  • @alltopics5400
    @alltopics5400 2 года назад +3

    Anyone in 2022 April

  • @stephanedu334
    @stephanedu334 8 лет назад +2

    that is C array, not C++ array

    • @dslylsd
      @dslylsd 8 лет назад +4

      Mister Cipipeew whats the difference

  • @shehabkhan637
    @shehabkhan637 9 лет назад +21

    Why do you sound sooooo much like Bill Gates?

  • @nurannisabarkah6461
    @nurannisabarkah6461 4 года назад

    Thanks sir👍

  • @felicitykoah1562
    @felicitykoah1562 Год назад

    Very good

  • @SusanChan97
    @SusanChan97 12 лет назад

    good job!!

  • @PalitoTechnologies
    @PalitoTechnologies 8 лет назад +1

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

  • @menardkatavare9854
    @menardkatavare9854 6 лет назад

    thank you i understood

  • @Tobe580
    @Tobe580 9 лет назад +1

    Very helpful, thanks!

  • @shimelskebede4357
    @shimelskebede4357 6 лет назад

    it is important studing

  • @gudmoments
    @gudmoments 6 лет назад

    thank you

  • @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.

  • @bontle_mothopeng
    @bontle_mothopeng 8 месяцев назад +1

    who is here in 2024 May?

  • @amaliavina4029
    @amaliavina4029 7 лет назад

    thanks

  • @sidkonnar5130
    @sidkonnar5130 6 лет назад

    thank you sir. Helped me a lot!

  • @petersam5300
    @petersam5300 2 года назад

    Good

  • @balaportejean7015
    @balaportejean7015 5 лет назад

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

  • @SP-qf6mn
    @SP-qf6mn 7 лет назад +1

    When in doubt RUclips it

  • @TheFlyguy31
    @TheFlyguy31 9 лет назад

    Thank you very much. Very well explained

  • @mohmenu
    @mohmenu 11 лет назад

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

  • @tarunacharya9221
    @tarunacharya9221 3 года назад

    Bro make more vidos

  • @Nerdo47
    @Nerdo47 9 лет назад

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

  • @cherrelynjoymoreno5289
    @cherrelynjoymoreno5289 10 лет назад

    I love it... Thanks :)

  • @vandansdwivedi3905
    @vandansdwivedi3905 8 лет назад +1

    sir CCC new syllabus 2016

  • @Akiradesuo
    @Akiradesuo Год назад

    Yawa imo volume hinay kaayu yawaa ka

  • @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.