cannot convert parameter 1 from 'double [5]' to 'double'
-
dear all after i debug my code, the erros displayed here: cannot convert parameter 1 from 'double [5]' to 'double' how to solve this problem, anyone can give me suggestion. thanks
gentleguy
you are trying to assign an array to a double type variable. Iterate through the elements in the array and then you can assign the value at an index to a double type variable BTW it would have been better if you could have posted the code snippet
Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
modified on Monday, July 21, 2008 12:50 AM
-
dear all after i debug my code, the erros displayed here: cannot convert parameter 1 from 'double [5]' to 'double' how to solve this problem, anyone can give me suggestion. thanks
gentleguy
gentleguy wrote:
anyone can give me suggestion
Yes: Post the relevant code. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
gentleguy wrote:
anyone can give me suggestion
Yes: Post the relevant code. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]If I didn't start to know you... I would say you are evil :P
Regards. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson Rating helpfull answers is nice, but saying thanks can be even nicer.
modified on Monday, July 21, 2008 5:50 AM
-
If I didn't start to know you... I would say you are evil :P
Regards. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson Rating helpfull answers is nice, but saying thanks can be even nicer.
modified on Monday, July 21, 2008 5:50 AM
Nelek wrote:
If I didn't start to know you... I would say you are evil
Actually you don't know me well, I'm actually evil! :laugh:
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
Nelek wrote:
If I didn't start to know you... I would say you are evil
Actually you don't know me well, I'm actually evil! :laugh:
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]Ok... confusion solved :laugh: :laugh:
Regards. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson Rating helpfull answers is nice, but saying thanks can be even nicer.