- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 A Mainframe IDE Powered By Unix Technology [12] - Integrate submit JCL and compile with Vim
For integrate submit JCL and compile with Vim, we need some pre-works: 1. One shell script: use ftp and site command to submit JCL to jes, we call it ftpwj.sh, JCL file name is passed as parameter
2010-05-28 21:36:00 2521
原创 A Mainframe IDE Powered By Unix Technology [11] - Submit JCL from ftp command or shell script
As we can issue site command in ftp mode, after that we can submit JCL file to JES and run it, the JCL file can be located in local folder or z/OS dataset. A. ftp mode: 1. Submit local JC
2010-05-26 10:13:00 2962
原创 C/C++ 学习笔记[03].去掉C风格的注释
网上搜索了一大堆去掉/*和*/之间注释的代码,就像练习1-23里有人说的一样大部分都会被以下的程序broken,这个功能看起来简单,实际上很有难度.网上实现的代码,除了我找到的一个用文件指针实现的没有问题外,其余的都存在各种bug,不信的话就用以下的程序测试一下:-),当然这个程序也不够完善. 还是有限状态自动机实现起来更严谨也容易理解得多: /* krx123tp.
2010-05-23 16:51:00 2175
原创 Cygwin&Vim搭建Mainframe IDE(10)---Vim中访问数据库,执行SQL
在Vim中直接执行SQL 当程序需要用到数据库的时候显然离不开SQL语句,通过一个插件,就可以在Vim中直接执行SQL语句,并返回结果到新窗口. dbext:http://www.vim.org/scripts/script.php?script_id=356 首先得安装DB2客户端,以DB2为例设置,当然得创建节点编目和数据库编目,具体参考网上的文章,例如: db2 catalo
2010-05-19 15:33:00 3027
原创 C/C++ 学习笔记[02].替换Tab为空格,并在TabStop的位置停止
#include #include #include #define MAX_BUFFER 1024#define SPACE #define TAB /tint getline(int s[], int lim){ int c, i; for(i = 0; i < lim - 1 && (c = get
2010-05-19 15:28:00 3486
原创 C/C++学习笔记[01].纵向打印整数
#include #include #include #define BASE 10int intlen(long n);int main(){ int i, j, num, sz; i = j = num = sz = 0; if (!scanf("%d", &num) || num <= 0) { printf("inva
2010-05-09 22:15:00 836
Vim 7.3支持任意字体
2010-08-16
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人