結果 : how to pass struct array in function c++