0

Is it Imp to learn array and pointer?

The concepts of array are understandable but is it ok if i skip the topic in detail, i just know the basic concept of array? The concepts of pointer are illogical and why is there a need to clear the memory, I mean it is just fine if the data is stored till the end?!!

6th Jun 2018, 2:05 PM
Sakaar Sen
Sakaar Sen - avatar
5 Respostas
+ 3
C++ is all about writing fast code, and to do that, you absolutely NEED those basic concepts.
6th Jun 2018, 3:26 PM
Timon Paßlick
+ 2
DevTycoon no, it can‘t. when you buy a computer you will read stuff like 8GB of ram or something like that, which means that it has 8GB of ram. when you try to use more than that the operating system will put some of the stuff in the ram on the harddrive, but only a limited amout. the hardsrive is also very slow so if it gets used the computer slows down and if you use all the space of the ram and all the space the operating system makes available on the hard drive the computer will probably crash(or the program).
6th Jun 2018, 2:17 PM
Max
Max - avatar
0
pointers are extremly important, you need to delete so that you have enough memory and don‘t run out of memory. pointers just store a memory adress and allow you to access said memory adress whats illogical about that?
6th Jun 2018, 2:12 PM
Max
Max - avatar
0
Max The comp can store as much as memory we want to...Right?
6th Jun 2018, 2:14 PM
Sakaar Sen
Sakaar Sen - avatar
0
Ahhh....Cool!
6th Jun 2018, 2:20 PM
Sakaar Sen
Sakaar Sen - avatar