close
Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中 
Get the newest, latest, hottest

Find shoes, heels, flats, active, essentials and more in the latest styles. Save up to 40% on select items.
From our sponsors
Dev C++ 初學者的問題
Sep 7th 2013, 12:07

最近閒來沒事 遊戲玩膩了
就想來學學C++ 寫寫程式
我練習的
#include
#include
using namespace std;
int main()
{
int A;
cin>>A;
{
if((A%2)==0)
if((A%3)==0)
{
cout
}
else
{
cout
}
}
{
if((A%3)==0)
if((A%2)!=0)
{
cout
}
}
if((A%2)!=0&&(A%3)!=0)
{
cout
}

system("pause")
return 0;
}

如果把system("pause")刪去的話是可以正常執行

但是在開應用程式的時候 顯示答案會馬上關掉

如果沒有刪掉 就會有錯誤....

不知道是哪裡有問題啊!! 請求大大協助

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 are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 candycrushsaga3 的頭像
    candycrushsaga3

    20162016韓劇推薦|討論2016韓劇推薦推薦好看的韓劇推薦與韓劇推薦2016韓劇排行榜前十名 , 好看的韓劇推薦 , 2016韓劇收視率

    candycrushsaga3 發表在 痞客邦 留言(0) 人氣()