作者error040 (雞仔404)
看板TransCSI
標題[討論] 台綜 105 問答題 請求詳解~
時間Mon Apr 2 15:30:03 2018
Implement a C++ function that swaps two integers, and use pointers as
arguments. Implement the other C++ function that computes the factorial of
the summation of the two integers using rvalue references as arguments. The
function of computing the factorial needs to be a recursive function.
Implement a C++ program that uses these functions. The user can input two
integers as 2 and 5, and the program needs to show the results of the
functions
請問這題的詳解
順便問一下這種題目通常是大家都寫的出來的嘛?
拜託大家了~~
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.127.41.250
※ 文章網址: https://webptt.com/m.aspx?n=bbs/TransCSI/M.1522654206.A.DF5.html
1F:推 future1234: 丟關鍵字到網路找找 應該就有頭緒 06/26 00:48