+ 2
Array is littile bit confusing to me@#$%@%
I don`t know why but I never completed any language complete. I am afraid of functions and other steps. any one help.
6 ответов
+ 4
I have a solution for this
Must "dry run" your code
What is dry run?
Write your code on copy and take lead pencil make a memory of variable that you declared and check line by line your code and write those things in front of line what this line can actually
Train your brain to become a compiler see code as a compiler
Also search how compiler or interpreter can work
+ 3
Array is very easy because array is collection that start with 0(zero)!😉😉😉😉
+ 1
If array is a little bit confusing to you, try and search for a substitute which is called vector.
Vectors were included in c++ standard template library to make array computing dynamic and easy to use together with lots of inbuilt functions.
+ 1
thanks a lot @saeed, But I am nor this much bad at this. I know that it starts from zero.
+ 1
Thanks a lot @muhummad nabeel for your help I will try this trick.
+ 1
ok @frranky but never herd of this "vector". I will search for it.