看板 NTUEE107HW 關於我們 聯絡資訊
我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: 61.59.121.131 ※ 編輯: phylin 來自: 61.59.121.131 (09/28 22:24)