You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Wouldn't it be easier to use predefined variables and standard structures?
Show me, then, where in the predefined variables are the other types of the basic structure I cited?
I'm not talking specifically about this structure, but about this technique in general.
For example, here is the structure of position properties:
Also predefined variables? There are no such predefined variables!
Well, that's a good place to start, based on the structure you gave me in the first post.
Yeah, I get it. So what options do I have? I'm really stuck on this point. I need some solution at least. How to pass these variables to classes? I want convenience, that's why I'm asking...
I have structures which need only one instance. Of course, it's not recommended to create several objects in different classes of these structures.
So I came to the conclusion that, in this case, the most reasonable way is to use thesingleton pattern.
Right?
Wrong.
Use the externt modifier.
Right?
Right?
strange logic.
but don't you want to make an instance of the structure extern?
strange logic.
Why don't you make an instance of the structure extern?
It's not written anywhere about such moments. How do I know how to do it? I don't know any of the programmers I know. And some of them still manage to get on the forum and make fun of me.
Right?
It doesn't say anything about such moments. How do I know how to do it? I don't know any of the programmers I know. And some of them still manage to get on the forum and poke fun at me.
Right?
What is this?