Structures are not initialized, only allocated. If you need implicit initialization, add the default constructor.

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
Hi,
does anybody know how the initial values of a struct are set?
The result I get:
Normally any boolean variable is set to 0 (=false) and integers to 0 too.
On the other hand a boolean variable 'within' a struct will always be set true?
And what does i=259 979 672 mean? The highest integer is 2 147 483 647.
Gooly