close
Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中 
Madesmith

Modern handmade. New designers every week.
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
    全站熱搜
    創作者介紹
    創作者 rrhhs 的頭像
    rrhhs

    線上遊戲排行榜2013/2014,進擊的巨人線上看,candy crush saga外掛,正妹寫真三圍

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