Return several arguments for another function by a single function

前端 未结 6 1976
余生分开走
余生分开走 2021-01-03 05:31

This question was closed as exact duplicate since I chose a misleading question title. It was not wrong but suggested an issue often discussed, e.g. in this question. Since

6条回答
  •  时光取名叫无心
    2021-01-03 05:36

    You need to declare a struct { int a, b, c; } or something similar (a class would work too) - I take it you have been programming python or php or some such.

提交回复
热议问题