Re: [問題] help C++無法執行
※ 引述《phylin (神之領域)》之銘言:
: 我compile你寫的沒有問題...
: 我把美化版的程式碼放下面...
: #include <iostream>
: #include <stdio.h>
: using std::cin;
: using std::cout;
: using std::endl;
: int main()
: {
: int Integer1;
: int Integer2;
: int Sum;
: cout << "Enter first integer: \n";
: cin >> Integer1;
: cout << "Enter second integer: \n";
: cin >> Integer2;
: Sum = Integer1 + Integer2;
: cout<<"Sum is : "<< Sum << endl;
: system ("PAUSE");
: return 0;
: }
我把東西複製過去再Compile
還是出現1 error(s), 0 warning(s)
執行時還是發生同樣的情形
怎麼辦啊?????
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.167.110.242
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 5 之 6 篇):