Drop the [] from "A[]" in this portion array_sum(A[],first,last-1) , you only need those in the declaration, not when using the variable. The array itself is merely "A".
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
Do you see any variable named "A" declared in your main() method?
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
you are looking in the wrong place, it is falling over in the array_sum method. can you paste it?
sillyboy
Practically a Master Poster
686 posts since Mar 2007
Reputation Points: 85
Solved Threads: 64