Added: 3 years ago
From: thenewboston
Views: 56,895
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (78)

Sign In or Sign Up now to post a comment!
  • if i got A grade in c++,,,,,,,,,its sure that creadit goes to you man.

  • Moron Arrays lol

  • I got a midterm in two days and man, youre saving my life!

  • I have very stupid problem .

    I have char array and i cant add value to every element that i want for example

    i've tried

    mychararry[x]=a;

    mychararry[x]="a";

    and none of then doesnt work .

    How to assign value of type char to certain element of an array?

  • @THEODORLOO would it be mychararry[1] = {+};

    

  • @THEODORLOO single quotes

  • Why are you so good!?

  • this is easy when you know java :D

  • Volume and resolution is too low!

  • WTF WAS TEH POINT IN MAKING NUMBER 10?! Stop confusing me.

  • Tanx bucky !

  • @thenewboston is it possible to use CIN on arrays ? like

    cin>>numbers[0

    cin>>numbers[1

    cout << numbers[0 * ages[1 ?

  • yes it is a functioned called malloc more advanced than these tutorials

  • Why not just int ages[ ] = {21, 19, 9} ? So that it's easier to change later

  • @ganonlight cause it doesnt know how many elements you want

  • lollipop

  • do you need to include the cmath library to use arrays?

  • @MitchelPwned

    No, you don't

  • you are awsome i love your videos

  • C++ is sad  ); ]; };

  • you areeee aaa besstttt teacher indeeeed!!!!!! thanxxxx.

  • YOU ARE THE BEST TEACHER I HAVE EVER SEEN!!!!!!!!!

  • grrr man. . how about input an array range and put values on every range of it. . T_T can u help on this please??

  • let's see if anybody here can help me.. i'm just starting to learn c++, right now i only know java.

    one thing i don't completely understand is.. if i want to create a class, i have to create 2 files for each class i create? i'm reading some books and they all say, first create a header file .h then and then a cpp file where we put the algorithm for earch function in the header file.. i mean i find it very confusing, in java just create a class and boom that's it. or am i getting it wrong.?

  • Hey thanks for the clear explanation.Can you please tell me how to use removeAt function to remove an element from array..

  • STFU, oh it's all so easy! You aint working at Orical yet. It don't matter what you know , its the degree you earn that matters. So step off and quit acting like a pompas jerk. Don't we have enough jerks on this world? Have a nice day!

  • sweet. hooray for options.

  • vector>array in nearly every case.

  • sir what if,instead of declaring the value of age, you input its value , . what would be the code for the cout?

  • 21 *thinks too old*, 19 * stilll*, "ninnnnne" *creepy pedobear voice ensues*

    i still love your tutorials xD

  • C++ is so easy after you learn java

  • can,t belive someone actually dislike this :o

  • Thank you for the great work, it clear and easy to understand.

    David awaiting exams - Kenya

  • how can i make a table by using an array?

  • ages[3][3];

  • datatype arrayname[rows][columns];

    eg. int nums[2][2] = { {1,2} , {3,4} };

    you can think of this as a 2D array with 2 rows and 2 columns that contain the numbers 1-4 eg.

    1 2

    3 4

    to output the number 3 we would say

    cout << nums[1][1];

    because remember the first element in an array is actually 0, not 1.

  • sorry 4 is nums[1][1].

    3 is nums[1][0]

  • A 2 dimensional array. Instead of using ages[3] You would make it ages[3][3]

    If thats what youre asking. I dunno if he goes over it in his tutorials or not but you can look up "multi dimensional arrays" on google and learn about them.

  • It's called a multi-dimensional Array. When you initialize it, add another dimension like so:

    int ages[X][Y] (more if you must);

    Then when referencing a value, use it's Nth dimensional coordinate, such as ages[n1][n2] = Z;

    Hope that helps.

  • @jhelypop Using multidimentional arrays. For example.

    int array[10] [10] [3];

    that is an array of 10 * 10 * 3 integers.

  • @jhelypop Multidimensional arrays. Declaring this array

    int arr[10][10];

    is like saying we want 10*10 elements, so we are delaring an array of 100 elements.

  • watch the previous tutorial

  • watch the previous video.

  • Just wondering if you have any tutorials on multi-dimensional arrays. I have to make a grade table for my class which basically needs about 8 rows and 5 columns.top row would be for titles i.e. exam grade and the rest of the rows for each student. below the table we have to have exam average lab avg and grade point avg. I need some serious help. first class been doing it for 6 wks now and itsl ike im a deer in headlights

  • Thanks alot i was beginning to worry about my c++ class i'm a beginner and they teach it like i already know it my teacher does not know how to explain anything this is really gonna clear it up im gonna watch your tutorial so i can do my assignments for the week thanks a lot man.

  • great turorials man , they are so helpfull, i am downloading each part right now so i can put it on my ipod. thanks alot, 5 stars

  • @mickmos hey can you please tell me how to download tutorials from youtube...... plzz..

  • @pankti123 sure man. Download the youtube to ipod converter from dvdvideosoft. This lets you download youtube videos to mp4, which you can put onto dvd or ipod.

  • @mickmos ohh thank you......

    and one more thing..... do you know how to downloand and save it on my computer... soo i can transfer it to my phone...... cause i dont use my ipod as much. i use my cell phone more than ipod......

  • @pankti123 get download helper

  • who u talkin to?

  • I could not have broken down this concept and explained it as efficiantly as you have and I have a masters degree in education! You should seriously consider teaching at a collegiate level!

  • @sfatman On his website he stated the he doesn't like the concept of colleges because, "education shouldn't be a business." He takes pride in providing this material for free, and I respect him for that.

  • @sfatman ...or teachers at collegiate level should seriously consider teaching on the internet instead.

  • Like everybody said, U ROCK man!

    your tutorials are so easy to understand and learn for everybody!

  • finally, tutorials from a professional behind a tutorial, not an 11 year old who trys to teach you to use notepad

  • thanks man!

  • learn english you biatch

  • WE love you..

    nice work..go head

  • Thanks for the help. I am reading up compound types in c++. This has really helped me.

  • u are easier to learn from than my c++ teacher at college, wish u could help me with my labs.

  • You break things down very good, easy to digest >> good job.

  • great tuorial man!

  • NICE this is an very good tutorial!!

  • Its GREAT!!

    Well explained Dude!!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more