Multi-dimensional array
Created at 23 Jan 2025, 17:46
Multi-dimensional array
23 Jan 2025, 17:46
Maybe I overlooked it, but I can't find a solution to declare and use a multidimensional array. The command in C++: int arr = {0, 1, 2, 3, 4, 5, 6, 7}; or int x = {{0, 1, 2, 3}, {4, 5, 6, 7}}; gives errors and the error message does not give me clarity either. Is a multidimensional array possible in cTrader?
firemyst
24 Jan 2025, 00:36
Yes, it's a C# language construct just like it is in C++. It's not specific to cTrader.
Google “c# multidimensional array”
@firemyst