question

Vedant G avatar image
1 Like"
Vedant G asked Vedant G commented

How to get started with C++?

Is there a resource that explains step by step how to use C++ for coding?

FlexSim 18.1.1
coding
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

Do you already know C++ and want to know how to use it in FlexSim? Or are you trying to learn C++?

0 Likes 0 ·
Vedant G avatar image Vedant G Matthew Gillespie ♦♦ commented ·

@Matthew Gillespie, Thank you so much for fast your response, I am proficient in C++ which is why I wanted to know.

I also wanted to create some custom classes, methods, functions etc.

0 Likes 0 ·

1 Answer

·
Steven Hamoen avatar image
5 Likes"
Steven Hamoen answered Vedant G commented
@Vedant G

Start with the Flexsim Modules SDK (Repo ) It contains an explanation about all classes etc. But I read an earlier post of you with the question when to program. Especially using process flow, programming is not needed much, maybe for some small loops or so. Only if you want to develop your own libraries programming becomes necessary. If you are new to Flexsim start with the tutorials and create your first models and maybe you don't have to dive into C++

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Vedant G avatar image Vedant G commented ·

I see, thank you so much, I apologize for too many questions, I wasn't able to find how to feed the C++ code into the model?

As in, how would you load your custom header files, source code etc. into the model?

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.