Facebook – https://www.facebook.com/TheNewBoston-464114846956315/
GitHub – https://github.com/buckyroberts
Google+ – https://plus.google.com/+BuckyRoberts
LinkedIn – https://www.linkedin.com/in/buckyroberts
reddit – https://www.reddit.com/r/thenewboston/
Support – https://www.patreon.com/thenewboston
thenewboston – https://thenewboston.com/
Twitter – https://twitter.com/bucky_roberts
Amazon Auto Links: No products found.
Turn Magnifier On
The font size is very small , so it is hard for me to see the lines.
Awesome lesson! I have an example of how to use pointers to find elements in arrays on my channel if anyone needs help!
It really helped (watching twice), you are cool ! { NAPSTER }
I thought the first address was the location of the value 7, but the first address is meatBalls? Confused.
this is awesome!!!
where is the forum??
Those meat balls man
your tutorials are a bit like game of thrones.
I just wanna watch the next episode as soon as the current is finished
Thanks you so much
int bro[2]={4,8,12};
printf(“n brocode: %p n “, bro);
printf(“bro-tip: %d n, *bro);
printf(” No of times bro-zoned: %d n “, *(bro+2));
u know the result
Do you think maybe you could have the video get closer to the code?
I was trying to follow along using Visual Studio, but the text is so small I have to continue putting it in fullscreen and going back and forth.
i realized that u really try hard to explain this vid in an appropriate way for ur vid followers to catch something from it
that means a lot to me, thanks alot
keep it up
Well, this comment is quite late, but if you want to have bigger text, and if you’re on a Windows computer, you could use the magnifying glass 🙂
For me, it’s Win+U and then click on the magnifying glass to the left (Windows 10)
Great lecture one after another.
You are the best. Professors show have felt shame.
I already got the idea ! You just want to show us other way to see the values of an array without use the for cycle!
Just like this: (advantege of the acumulator i)
int meatBalls[5] = {7, 9, 49, 21, 3};
int i = 0;
while(i < 5) { printf("*(meatBalls[i]) = %d", *(meatBalls + i)); i++; }
Does anyone know why when he printed *meatBalls as a pointer (%p) it showed a bunch of 0s followed by the value of *meatBalls as an integer (%d)?
printf(“meatBalls t %p”, *meatBalls) = 00000000007;
printf(“meatBalls t %d”, *meatballs) = 7;
“If you watch this tutorial twice then you probably are gonna understand…”
But if I watch again I’ll hear the same comment and get stuck in an infinite loop! XD
i cant follow your tutorials because the sie of what you’re writing is too small!
This makes computer science so fun. I cant stand lectures with no personality, very uninspiring. These vids are the best!
I was having some serious problems with pointers and stuff before i saw your videos!
Thank you so much man! You’re doing an amazing job here!
try typing for(int i = 0; i <5; i++){
printf("n *(meatBalls+%d) tt %d n",i, *(meatBalls+i));
}
insted of printf("n *(meatBalls+2) tt %d n", *(meatBalls+2));
it will supper blow your mind.
I hope youtube will make you a statue
thank bucky
Thanks Bucky so much about this lesson 🙂
I am trying to store an int and a string in an array – didn’t work. So I created two arrays one for each and tried putting pointers to each in a third array – – a whole bunch of errors. Q.) is there any way I can do this.I need to story two ints the coordinates of an object … the int X, int Y and the object or it could be a name – string. I am not very advanced in C++ but I hope there is something you can comeup with that I can understand.
not visible
I’ve never heard so many meatballs in a day before
Super! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
once it’s dereferenced does that mean the array doesnt exist anymore?
Thanks for all of these tutorials i really appreciate it!
I think you are very easy to understand. And that you are great at teaching!
it was perfect brush up videos for me
Thank you for this outstanding tutorial!
OMG! So instead of writing &test_array[0] you can just write test_array! And instead of writing test_array[0] you can write *test_array! That is so incredibly useful, Mind = blown!
just watch this video in 144p……..
newboston many thanks to you 😉 A lot of your tutorials refreshed me, and pointers was perhaps one thing which I was not able to do at university. Because boring theory without practice. So that time I made myself a sokoban game , I think without pointers but they needed it there, I sent my assignment after day d, should be for 0 it was 4/5 I did that on my own , and I loved it.
Now I think this is the core puzzle I also needed to go with deep understanding. Thank you for your time and very nice explanations 😉 and keep up good work 😉 you are my inspiration 🙂
do zoom in. i need my eyes to see what is going on.
can we implement vector using c language…..if yes….can u explain it?
meatball zero
Guys he probably knows that the size of sight is not good and he should’ve probably zoomed in but now it’s late. Please use windows key + (+ key) and you can zoom on your own, its better than the default.
Is this a tutorial for ants?
This is great, but I have one query:
In the above example, we saw:
Address of meatBalls[0] = 0028FEF8 = meatBalls
and
Address of meatBalls[1] = 0028FEFC
So, it means that the integer variable requires 4 bytes of consecutive memory.
I understood properly till this point.
Now,
How come *(meatBalls+2) points to the next to next INDEX instead of the actual MEMORY address?
i.e.,
Isn’t *(meatBalls+2) supposed to point to 0028FEF8 + 2 = 0028FEFA? Why did it jump 2 extra memory addresses higher to 0028FEFC??
Again, in other terms, I thought
*(meatBalls+2) = *(0028FEF8 + 2) = *(0028FEFA) != meatBalls[1]
Can you please tell me where I am going wrong?
AWSOME
meatBalls+2 for dark souls 4 plz
I need a magnifying glass to read the tiny text.. 😛
But the video is always, GREAT!
how many tutorial videos are there totally?
Please zoom in. My eyes are achy.
GOD BLESS TO YOU SIR !
is there a difference between these two statements:1. * pTuna 2. *pTuna
one is with space and the other is without