作者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/cn.aspx?n=bbs/TransCSI/M.1522654206.A.DF5.html
1F:推 future1234: 丢关键字到网路找找 应该就有头绪 06/26 00:48