惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

IT之家
IT之家
Microsoft Azure Blog
Microsoft Azure Blog
人人都是产品经理
人人都是产品经理
博客园 - 聂微东
博客园_首页
阮一峰的网络日志
阮一峰的网络日志
V
V2EX
小众软件
小众软件
F
Fortinet All Blogs
Microsoft Security Blog
Microsoft Security Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
H
Hackread – Cybersecurity News, Data Breaches, AI and More
量子位
Google DeepMind News
Google DeepMind News
Jina AI
Jina AI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
aimingoo的专栏
aimingoo的专栏
B
Blog RSS Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
宝玉的分享
宝玉的分享
有赞技术团队
有赞技术团队
J
Java Code Geeks
WordPress大学
WordPress大学
The Cloudflare Blog

博客园 - xpoint

Sybase 11.0.3 bcp数据报错! Sybase SQL Server 11.0.x 调优方案...(未完成) Windows Server Family 上安装Office 2000 你在使用Gmail,Wallop,MSN Spaces,Three Degrees吗? 网易的邮箱太慢了,还要别的选择吗? 学了学awk,也算是收获 Microsoft PowerToys for Windows XP 给Windows,SCO,AIX添加静态路由 给博客园的bloger提供若干GMail邀请。(暂放半天,明天移帖) 微软的应用程序块列表 了解POP3协议,使用简单的代码监控pop3邮箱,或者不用代码,直接使用telnet 反射的任务 微软为什么把标准提升的这么快, .Net Framework 1.1-> 2.0,连核心的类库都换了! 设置一个Label控件上文字的字体样式和字体大小随机的代码 得到本机socket选项的全部默认值。 Linux TCP/IP 协议栈源码分析(一) 国外高手参加世界编程大赛时的参赛作品(转载) UltraEdit-32中的小bug。 还是关于《设计模式》
让你的gVim支持Miscrosoft Visual C++ 2003
xpoint · 2004-07-14 · via 博客园 - xpoint

Miscrosoft Visual C++ 2003 ToolKit 出来后高兴了一阵,又可以拾起C++代码了,在/bin目录下找了一下,居然没有提供MAKE程序, 这让我使用gVim很不方便。自己写了一个脚本,勉强支持ISO C++.但不支持Mirosoft.Net Framework

我已经提交给 http://vim.sourceforge.net/scripts/index.php 有兴趣的朋友和我联系,把它写的更好!

安装

1.添加环境变量

Set PATH=D:\Microsoft Visual C++ Toolkit 2003\bin;%PATH%
Set INCLUDE=D:\Microsoft Visual C++ Toolkit 2003\include;%INCLUDE%
Set LIB=D:\Microsoft Visual C++ Toolkit 2003\lib;%LIB%
( Change D to your drivename )

2.放置msvc2003.vim到vim安装目录compiler子目录下使用
命令行模式下输入
:compiler msvc2003
:make

msvc2003.vim

------------------------------------------------------------------------------------------------
" Vim compiler file
" Compiler: Miscrosoft Visual C++ 2003 ToolKit
" Important:    The version DOSE NOT support Mirosoft.Net Framework
"                     Only for ISO C++ standard code
" Maintainer:   SKY <zhang.bin@163.com
>
" Last Change: 2004-07-11

if exists("current_compiler")
  finish
endif
let current_compiler = "msvc2003"

let s:cpo_save = &cpo

set cpo-=C

" The errorformat for MSVC-2003 is the default.
setlocal errorformat&
setlocal makeprg=cl\ /EHsc\ /TP\ %<.cpp\ /Fe%<.exe

let &cpo = s:cpo_save
unlet s:cpo_save
------------------------------------------------------------------------------------------------