結果 : declare a function in cpp