sublime text 2 寫c++,無法 cin? - MAC

By Mason
at 2012-11-24T03:14
at 2012-11-24T03:14
Table of Contents
網路上說sublime text 2 是神兵利器...
下載安裝後,用一個簡單的hello world,可以執行:
但以下卻有問題:
int a;
cin >> a;
cout << a << "hello world" ;
在我run這個code之後,卻只直接顯示出hello world而已,它不給我cin值...
請問有解嗎...?
--
下載安裝後,用一個簡單的hello world,可以執行:
但以下卻有問題:
int a;
cin >> a;
cout << a << "hello world" ;
在我run這個code之後,卻只直接顯示出hello world而已,它不給我cin值...
請問有解嗎...?
--
Tags:
MAC
All Comments

By Thomas
at 2012-11-25T01:50
at 2012-11-25T01:50

By James
at 2012-11-27T10:07
at 2012-11-27T10:07

By Thomas
at 2012-12-01T18:52
at 2012-12-01T18:52

By Rae
at 2012-12-03T17:35
at 2012-12-03T17:35

By Robert
at 2012-12-06T10:53
at 2012-12-06T10:53

By Frederica
at 2012-12-11T06:16
at 2012-12-11T06:16
Related Posts
遠端連線windows 備份問題

By Linda
at 2012-11-23T23:06
at 2012-11-23T23:06
mbp連不上中華電信wifi(emome帳號)

By Carolina Franco
at 2012-11-23T22:46
at 2012-11-23T22:46
server專用監控vpn使用者的軟體?

By Joe
at 2012-11-23T22:33
at 2012-11-23T22:33
我的電池健康度有點囧

By Yuri
at 2012-11-23T22:15
at 2012-11-23T22:15
Airplay用iPhone當無線基地?

By Leila
at 2012-11-23T22:08
at 2012-11-23T22:08