Emacsの設定

~/.emacsファイルに

(global-set-key "\C-c\C-m" 'compile)
(global-set-key "\C-c\C-i" 'next-error)
(show-paren-mode t)
(transient-mark-mode t)

を設定するとうれしい感じ。
compile時の実行ファイル名は".cpp"をとった部分を入力。