+ 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.

20th Aug 2019, 3:21 AM
Mr. Bhattg
Mr. Bhattg - avatar
6 Respostas
+ 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
20th Aug 2019, 3:43 AM
Muhammad Nabeel
Muhammad Nabeel - avatar
+ 3
Array is very easy because array is collection that start with 0(zero)!😉😉😉😉
20th Aug 2019, 3:42 AM
Saeed
+ 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.
20th Aug 2019, 9:01 AM
Franky BrainBox
Franky BrainBox - avatar
+ 1
thanks a lot @saeed, But I am nor this much bad at this. I know that it starts from zero.
20th Aug 2019, 2:26 PM
Mr. Bhattg
Mr. Bhattg - avatar
+ 1
Thanks a lot @muhummad nabeel for your help I will try this trick.
20th Aug 2019, 2:27 PM
Mr. Bhattg
Mr. Bhattg - avatar
+ 1
ok @frranky but never herd of this "vector". I will search for it.
20th Aug 2019, 2:28 PM
Mr. Bhattg
Mr. Bhattg - avatar