Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Array 1

Status
Not open for further replies.

puk5629

Programmer
Jul 11, 2010
13
GB
Hi everyone,

I created 2 arrays. I wanted to store some of the values in the first array in second array.

For example, the first array content 50 values and by using if statement, out of the 50 values only 5 of them will be stored in the second array. I want the values to be stored accordingly in the second array which mean second array 0,1,2,3,4 will contain the values. How can I do that? Thank you.

Any comment and solution will be much appreciated.
 
I'm dealling with 2 dimensional dynamic array. How can I do so? Any guideline?
 
That will depend on how the 2 dimensional array is set up.
that is to say, exactly where and how the data is stored in the array.
You need to tell us that before we can help.
You will most likely need to nest 'for' loops.
Have a good look at the site that aarojme pointed you to.

Steve: N.M.N.F.
If something is popular, it must be wrong: Mark Twain
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top