Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 01:42:01 +0000



Post From: Trying to have a triple array

[2016-12-06 18:57:29]
User994967 - Posts: 1
Hello, i'm currently trying to write a peace of code that should do something like this:

create a triple array, something like: double triplearray[][][]; <<<of course this is not sierrachart programming language

the 3 dimensions of the array would be used like [sc.Index][numberfrom0to10][numberfrom0to10].



error C2109: subscript requires array or pointer type

What can be a correct way to do it?

Thanks very much.


Edit: i solved the situation by doing many two dimensional arrays instead of a single big three dimensional array.
Date Time Of Last Edit: 2016-12-06 22:09:32