[問題] sublime text 2 寫c++, 無法cin?
網路上說sublime text 2 是神兵利器...
下載安裝後,用一個簡單的hello world,可以執行:
但以下卻有問題:
int a;
cin >> a;
cout << a << "hello world" ;
在我run這個code之後,卻只直接顯示出hello world而已,它不給我cin值...
請問有解嗎...?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.113.89.221
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):
MacDev 近期熱門文章
PTT數位生活區 即時熱門文章