السلام عليكم
ورحمة الله وبركاته
ممكن تدلوني على لنك مشروح فيه سابقا الفايلز الملفات
في السي
والبوينترز المؤشرات
واش فائدة المؤشرات وليش تستخدم
ومتى استخدمها ومتى يفضل استخدامها
تكفون
نبغى شوي نتقدم في هاللغة الحلوة
اخوكم
السلام عليكم
ورحمة الله وبركاته
ممكن تدلوني على لنك مشروح فيه سابقا الفايلز الملفات
في السي
والبوينترز المؤشرات
واش فائدة المؤشرات وليش تستخدم
ومتى استخدمها ومتى يفضل استخدامها
تكفون
نبغى شوي نتقدم في هاللغة الحلوة
اخوكم
I will answer the second question!
we use pointers when we want to make the maximum useful of the memory.
Now you have to learn the deffirance between static and dynamic (pointers) allocation.
1- the static alloc. is done through the programming which mean you specify the variables and constants throught before compiling and these variables will stay in the memory within the runtime of the program, on the other hand the dynamic solution is more flexible so you create the variable through the run time (under the operating system control) and free it (kill it) when you don't wnt it.
2- also the important thing is when you want to manipulate some od data you don't know there count so there isn't a maximum bound here you obligimised to use pointers for example sum a number of numbers you don't know there maximum count.
I hope that I gave you a short introduction to pointers.
مشكور اخووووووووي
والله يعطيك العافية
لو كانت بالعربي افضل لكن كذا فهمت نص الكلام يعطيك العافية
هذا الموضوع مغلق.