Panjianom Adi Pratomo:
I have written the loop and inside it there's sorting for multidimensional array but when compile it giving this error. How can i solve this?
Any suggestion or work around to this? Thanks!
Jindex is an int.
MyArray[][] holds a double.
You are trying to stuff a double into an int, and the compiler is warning you because it cannot know if that's really what you intended.
If that's what you really want, you have to typecast it.
Jindex = (int) MyArray[j][1];
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
I have written the loop and inside it there's sorting for multidimensional array but when compile it giving this error. How can i solve this?