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?!!
5 ответов
+ 3
C++ is all about writing fast code, and to do that, you absolutely NEED those basic concepts.
+ 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).
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?
0
Max The comp can store as much as memory we want to...Right?
0
Ahhh....Cool!