我想每次将增量增加 1。我希望能够得到 1, 3, 6, 10, 15, 21, 28, 36, 46 ...
首先它添加 1 然后 2 然后 3 然后 4,依此类推,依此类推。
c++ for-loop increment
c++ ×1
for-loop ×1
increment ×1