Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 07:59:42 +0000



Post From: ACSIL Using Pointers on Subgraph arrays raises CPU exception

[2024-03-29 05:06:57]
User43 - Posts: 101
What is then the purpose of the GetAt or GetPointer functions?

When I get a pointer to a Subgraph I should be able to dereference it and set or read its values.

That is common practice in C/C++.
Using pointer arithmetic and iterators would quite simplify the coding on my project to manage inputs and subgraphs.

Why does it work with the InputArray and not with the SubgraphArray? Both are based on the same wrapper class !
Both array types as well as the wrapper class are SC provided entities. So it is not a problem with my code, rather the one provided by SC.

I don't ask for support, I just point out a flaw in your software, hoping that eventually an explanation or ideally a fix is provided.

Aren't you even a bit curious what is wrong with it?
My provided simple test study is not hard to understand and can be quickly compiled and installed.