
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
OK, let's say you have a number under the name (wild, of course, but let's say it is). But each button has a caption, a text, for example "Cancel" or something like that. How do you specify this property? Right:
I was going to look into this further.
Very simple. We make an array of
string Button_names[] = {"Cancel", "Ok", "Hello World!"...};
We loop through the main kernel and arrange the indexes of the text cells in it.
It means that the size of the kernel must match the number of properties of the object. If you change the number of properties and do not change the size of the kernel, you will be out of the array.
So, while you are writing code, you should control that the number of properties and the size of the kernel coincide everywhere.
...
You are a real monster :) You make your own problems and solve them. :)
If you were to abandon this "heresy" and embrace the OOP "religion". :) Then you would have found a way to make everything much simpler, more flexible and expandable.
That is, as you write your code, you must constantly check that the number of properties and the size of the kernel are the same everywhere.
What is the problem with controlling? We add a property and increase the size of the kernel rows. That is all.
And by the way, even this code won't compile for you. Here you are creating a 3x10 two-dimensional array:
Even though you only have eight properties to define.
Then you do a search again for 10 properties:
What does that even mean?
And by the way, even this code won't compile for you. Here you are creating a 3x10 two-dimensional array:
Even though you only have eight properties to define.
Then you do a search again for 10 properties:
What does that even mean?
This is just an example. Not for compilation.
This is just an example. Not for compilation.
Oh, yeah. So you're trying to explain your code to us with a non-working example.
Oh, boy. So you're trying to explain your code to us, using examples that don't really work.
I'm not explaining the code, I'm explaining the approach.
Not the kernel, the engine. The core is simply an array of data.
It communicates via EventChartCustom();
Yeah, sorry. I keep getting confused. Kernel and engine sound the same. The terminology is unfortunate in my opinion.
The kernel is an array. The engine is the code.
I'll draw it.