Support Board
Date/Time: Sun, 24 Nov 2024 11:05:05 +0000
Post From: ACSIL - storing persistent structs / other large data
[2024-06-08 23:09:26] |
User740504 - Posts: 110 |
I know I can store ints, floats, etc. I'm writing an automated trading system which interacts with buttons on the control bar. These buttons enable/disable automated trading, move stop-losses, alter trade quantity, etc. Depending on what's going on they may have updated text, color, etc. I'm trying to store vectors of structs persistently to manage this, so I can query the state rather than have a long list of switch statements or nested if/elses in the main function. This keeps the creating of control bar functionality to one line (vec.push_back({... create struct ... }) and definition to a few lines (struct creation). What would be the best approach to manage this? Is this possible? Date Time Of Last Edit: 2024-06-08 23:19:15
|