Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 22:00:44 +0000



[Programming Help] - Mutiple C Files in Study

View Count: 498

[2020-05-16 20:25:44]
User439067 - Posts: 48
I tried to break up code in multiple files and couldn't figure it out once. I code C# and each function gets it's own file. My study's are super long and after awhile I just give up on them because they are so complex and confusing to read the code. Is there anyway to split up the code into multiple files as dev best practices? Thanks!
[2020-05-17 08:12:52]
Ackin - Posts: 1865
Use a Function calls (as when you call, for example, the moving average sierrachart).. You have individual functions in another file and you link them to the current project using header files (xxxxx.h) In the declaration as well as the header files of Sierrachart. Always do this if you use something repeatedly. I have libraries with 45-80 thousand lines of code so I understand exactly what you are writing about.

..in the worst case, call the Void blocks of the program (this will not save anything in memory, but someone will solve the clarity of the code)
Date Time Of Last Edit: 2020-05-17 08:14:28

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account