
脚本语言
kannju
这个作者很懒,什么都没留下…
展开
-
Makefiles
BackgroundFirst of all, anyone who does not know how to write a makefile must have missed the first discussion section (in the second week of class), because there was a handout on makefiles and tar.Note: this was written for the g++ compiler. You shou转载 2010-11-23 21:03:00 · 926 阅读 · 0 评论 -
Using g++
Using g++Most of this document was taken nearly verbatim from Paul Hilfinger. Any errors introduced, however, are David Wolfe's.IntroductionGNU provides are a publicly-available optimizing compilers (translator) for C, C++, Ada 95, and Objective转载 2010-11-23 21:39:00 · 637 阅读 · 0 评论 -
Linux环境下VI/VIM编辑文件时无权限保存的解决方法
在Linux环境下,如果直接使用VI/VIM命令编辑没有修改权限的文件时,保存的时候就会提示用户无法进行保存操作,一般的解决方法只能是关闭文件重新以sudo权限打开该文件编辑后再保存(前提是用户具有sudo权限)。其实,在VI/VIM模式下通过一些简单的命令,就能在不关闭当前文件的情况下达到保存文件的目的(感谢晓哲老师提供的方法):输入命令:%! sudo tee % > /dev/nul转载 2012-07-07 19:05:06 · 2288 阅读 · 0 评论