Q.最近看到了一個題目如下,要用一個函數做出兩個數字相加後的階層,並用遞迴方式寫出:
"Implement a C++ function that computes the factorial of the summation of the two integers using rvalue references as arguments.The function needs to be a recursive function."
我知道怎麼用兩個函數做出來,但是實在不知道怎麼濃縮成一個函數...請大神幫忙!