Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中 |
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中 |
|
![](http://www.launchbit.com/taz-i/1943-directv-text.gif) |
Explore DIRECTV
Enjoy HD DVR service in every room. Get every game every Sunday. Watch hit movies and shows anywhere. Bundle and save today! ![](http://www.launchbit.com/ap/1035faa627/) |
From our sponsors |
|
|
c++ 函數呼叫-回傳值問題
Aug 8th 2013, 05:35
題目如下 =========================== int myDice(___________) { int ans; ans=25; n=25; return ans; } int _tmain(int argc, _TCHAR* argv[]) { int a,b; a=75; b=75; a=myDice(b); printf("\n %d %d ", a, b); system("PAUSE"); return 0; } 程式執行後,會輸出75 75 =============================== int myDice()括弧內要填寫甚麼,輸出的值才會是75 75 我自己是輸入int myDice(int n),跑出來的結果是25 75 請問要如何修改 This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers. Five Filters recommends: 'You Say What You Like, Because They Like What You Say' - http://www.medialens.org/index.php/alerts/alert-archive/alerts-2013/731-you-say-what-you-like-because-they-like-what-you-say.html
|
|
|
linevpn
情侶台北一日遊2016拜託大大幫忙規劃台北一日遊行程台北一日遊行程規劃台北捷運一日遊推薦台北一日遊可以怎麼安排
linevpn 發表在 痞客邦 留言(0) 人氣()