Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 20:37:14 +0000



Post From: Sorting arrays in ACSIL

[2019-02-20 16:55:43]
User470516 - Posts: 78
Dear SC team,

I am trying to sort a basic array. I have not been able to find any function doing this in the ACSIL doc, so I assume that does not exist.

I have therefore decided to use the C++ sort function and I have #include <algorithm> declared just before #include "sierrachart.h". The instruction: sort(intArray, intArray + SIZE); generates a compiler error (I use SC compiler):

'sort' was not declared in this scope.

Does that mean that Sierra Chart development environment does no support this? Would MS Visual Sutdio C++ help, or am I looking in the wrong direction?

Thank you for the support.

Regards,

Laurent