Windows系統:
下載
安裝方法:直接執行
AWS EC2 (Linux)系統:
安裝方法:
$ sudo easy_install ipython
Cygwin:
下載
安裝方法
$ tar -xzf ipython.xxxxx.tar.gz
$ cd ipython.xxxxx $ python setup.py install
$ sudo easy_install ipython
$ cd ipython.xxxxx $ python setup.py install
$ sudo yum install ncurses-devel
#include <ncurses.h> int main() { initscr(); /* curses模式開始 */ printw("Hello World!!"); /*印出Hello World!!*/ refresh(); /*將字串在螢幕上印出*/ getch(); /*等待輸入指令*/ endwin(); /*結束curses模式*/ return 0; } |
$ g++ -o filename *.cpp -l ncurses
$ g++ -o test test.cpp -l ncurses
$ ./test