0

sorry for the dumb question(I am making a mess :) ). Using the boost library multi_array, how can define a 15 dimensional array?

I need to convert this VBA code

Dim   myArray() As Long
ReDim myArray(3 * 12)

to C++

cheers

Edit to the Question:

At the end there is another Redim like that :

Dim myMaxArray() as long

ReDim myArray(myMaxArray(1),myMaxArray(2), myMaxArray(3), myMaxArray(4), myMaxArray(5), myMaxArray(6), myMaxArray(7), myMaxArray(8), myMaxArray(9), myMaxArray(10), myMaxArray(11), myMaxArray(12), myMaxArray(13), myMaxArray(14), myMaxArray(15))

This sould be a 15 dimensions array? am I wrong?

4
  • Do you have to use boost?? Commented Jun 27, 2016 at 15:29
  • Does the documentation not show you how to use it? Commented Jun 27, 2016 at 15:32
  • 4
    Your VBA code is not a 15-dimensional array. It’s onedimensional. Commented Jun 27, 2016 at 15:35
  • Ok sorry guys for the confusion I am converting this vba code now and i am litle birt confused, what I want to achieve is this : Commented Jun 27, 2016 at 16:04

1 Answer 1

0

I decided to go for boost multi_array then

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.