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;
: }
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.239.155
推
推 61.59.121.131 09/28, , 1F
推 61.59.121.131 09/28, 1F
討論串 (同標題文章)