使用快速排序出现的错误
# command-line-arguments
./createBigFile.go:124:27: quicksort(low) used as value
./createBigFile.go:124:43: quicksort(hight) used as value
You've forgotten to declare a return value. It should be:
quicksort(arr []int)( []int)
使用快速排序出现的错误
# command-line-arguments
./createBigFile.go:124:27: quicksort(low) used as value
./createBigFile.go:124:43: quicksort(hight) used as value
You've forgotten to declare a return value. It should be:
quicksort(arr []int)( []int)
本文标题:"used as value" in function call
本文链接:https://www.haomeiwen.com/subject/zrgrjdtx.html
网友评论