GREAT C++ LESSONS! I already watched all of them with making my own examples and programs from every video. Now I only want to see a video about how to make a program that could store a huge number of objects ( each ob. wold have at least 40 bytes) , i mean more than million objects in one array.
I managed to put in vector over fifty million objects, still remaining a lot of free space on memory, but if i put just a bit more cause program crash.
@RoarOfVictory You can delete variables in execution-time so u save memory. Imagine you have a mob-Object spawned on a map. Your charakter kills it so it disapears. When you create a normal object like "mob scorpion("1000hp");" the memory will be given back when you close the program not earlier! When you create it with a pointer like "mob* scorpion = new mob("1000hp");" its called dynamic because you can give the memory back anytime by using "delete scorpion". Hope i could help.
nice vedio and also very helpfull... great work..
dnaiyal 5 days ago
How do you do this is you want to dynamically allocate a array of a struct data type.
chowzor 1 month ago
Thumbs up if I wasn't the only one who was tempted to make a drinking game out of the word 'point' in this video. XD
mindzer0 1 month ago
Subject? Data at this level of lighted fast c++ .. Excellent ... this pointer array were lighting speeder
omahdezavalos 3 months ago
there is alot of pointing
BIOHAZARDJVC 3 months ago in playlist C++ Beginner Tutorials
I'm starting university know and find this a great complementary to what I do there :) Thanks!
LoveGeronimo 5 months ago 2
i hope you cover linked list and other STL stuff ; )
LordOfKnights00 5 months ago in playlist C++ Beginner Tutorials 2
Great. I do love it
97sbl 5 months ago 2
Great tutorial!!
TheScheier 5 months ago 2
2:18 Too much inception! :(((
lleksikon 6 months ago 3
Awesome
Mephisto43 7 months ago 4
GREAT C++ LESSONS! I already watched all of them with making my own examples and programs from every video. Now I only want to see a video about how to make a program that could store a huge number of objects ( each ob. wold have at least 40 bytes) , i mean more than million objects in one array.
I managed to put in vector over fifty million objects, still remaining a lot of free space on memory, but if i put just a bit more cause program crash.
frijevc 7 months ago 2
@RSole52 Wait, what... It says "1336" views right now... o_O
ShadowSky24 7 months ago
Thank you ,XoaX. I actually wanted to know how to get rid of "expression must have a constant value".
winPGRM 8 months ago
Thankyou for getting into more advanced topics! Can you do a series on algorithms with C++?
TheFierceGaming 8 months ago 8
I don't get it. Why did u use a pointer?
RoarOfVictory 8 months ago
@RoarOfVictory
because that's what new returns
IronChefWannabe 8 months ago
@RoarOfVictory You can delete variables in execution-time so u save memory. Imagine you have a mob-Object spawned on a map. Your charakter kills it so it disapears. When you create a normal object like "mob scorpion("1000hp");" the memory will be given back when you close the program not earlier! When you create it with a pointer like "mob* scorpion = new mob("1000hp");" its called dynamic because you can give the memory back anytime by using "delete scorpion". Hope i could help.
1aMattes 7 months ago
@1aMattes Wow thanks that helped.
RoarOfVictory 7 months ago
our main pointer is a pointer to a pointer to an int and it is set to point to an array of pointers to ints.
jkz nice tut
bssmain 8 months ago
this was a very good tutorial, but what's the application of multi-dimensional arrays?
congratz on the great tutorials, they are really helpful ;)
MrSimonOwnz 8 months ago
@MrSimonOwnz Finance.
KoalaBearWarrior 8 months ago
@MrSimonOwnz
did you not watch the video at 3:50 ?
IronChefWannabe 8 months ago