Emacs 24.2.1 简单配置c++ 学习环境

环境:

Windows 7 Home Basic

Cygwin  (不是必要条件,个人喜好,从该镜像安装:China: mirrors.neusoft.edu.cn(ftp))

MinGW (使用CodeBlocks捆绑的,设置到Path)

使用的插件:

  1. color-theme.el
  2. yasnippet
  3. auto-complete-1.3.1
  4. smart-compile.el
  5. tabbar.el

配置文件: https://files.cnblogs.com/wucg/emacs_home..zip

auto-complete 可能需要重装install.

  1. M-x 3 (水平分割窗口)
  2. 编写HelloWorld.cpp
  3. M-x smart-compile
  4. M-! HelloWorld.exe  ( 或 M-x shell 新建一个窗口shell,在里面运行生成的程序. )

如图:

原文地址:https://www.cnblogs.com/wucg/p/2775473.html