美文网首页
"used as value" in function call

"used as value" in function call

作者: 小王同学123321 | 来源:发表于2023-04-20 15:18 被阅读0次

    使用快速排序出现的错误

    # 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