Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ Leda > Labeling jagged...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 158 of 212
Post > Topic >>

Labeling jagged arrays

by cant_think_2day@[EMAIL PROTECTED] (Cant Think Today) Sep 3, 2004 at 01:49 PM

I have multi-dimesional arrays that can be specifed by the user, e.g

1,2,3,4,5
1,2,3,4,5,6,7,8,9,10
1,2,3,4,5,6

I think a bit of code that will iterate over these arrays to print out
the element indices for each unique element in the N-dimensional
array.  E.g. for the above

1:1:1
1:1:2
1:1:3
1:1:4

So what is the loop with the printf that will print the line to std???
 This is probably simple as hell but its late and I can't think!!




 1 Posts in Topic:
Labeling jagged arrays
cant_think_2day@[EMAIL PR  2004-09-03 13:49:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 11:06:56 CDT 2008.