11 2012 档案

摘要:LISP Tutorial 1: Basic LISP ProgrammingLISP ExpressionsWhen you start up the Common LISP environment, you should see a prompt, which means that LISP is waiting for you to enter a LISP expression. In the environment I am using, it looks like the following:USER(1):The Common LISP environment follows t 阅读全文
posted @ 2012-11-26 00:06 庚武 阅读(288) 评论(0) 推荐(0) 编辑
摘要:from:http://my.oschina.net/wlmouse/blog/35258最近买了新出的《实用Common Lisp编程》,准备学习Lisp。结果到书上面所说的网站下载开发环境的时候,发现作者不再更新了。没办法,只好自己搭建开发环境。Lisp开发最推崇的环境是Emacs + slime + sbcl。Emacs这个经典的编辑器可以从http://ftp.gnu.org/pub/gnu/emacs/windows/下载。slime在http://common-lisp.net/project/slime/下载。sbcl全名是Steel Bank Common Lisp,是一个经典 阅读全文
posted @ 2012-11-23 16:44 庚武 阅读(451) 评论(0) 推荐(0) 编辑
摘要:from:http://www.yolinux.com/TUTORIALS/CppStlMultiMap.html#include <string.h>#include <iostream>#include <map>#include <utility>using namespace std;struct cmp_str { bool operator()(char const *a, char const *b) { return std::strcmp(a, b) < 0; }};int main(){ map<char *, i 阅读全文
posted @ 2012-11-22 19:45 庚武 阅读(230) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>using namespace std;int main(){ int i=10; int j=20; int * const cp = &i; cout<<*cp<<endl; (*cp)++; //ok: Can modify the variable pointed cout<<*cp<<endl; //cp = &j; //error: Canot modify a const object const int * pc ; pc = &i; cout<< 阅读全文
posted @ 2012-11-20 00:06 庚武 阅读(220) 评论(0) 推荐(0) 编辑
摘要:http://edn.embarcadero.com/article/20633Borland C++ Compiler version 5.5 Free Download Is Here !!!By:David IntersimoneAbstract: The free download version of the Borland C++ Compiler version 5.5 is now available.Borland C++ Compiler version 5.5 Free Download - AVAILABLE NOWOur classic ANSI C/C++ comp 阅读全文
posted @ 2012-11-18 20:25 庚武 阅读(613) 评论(0) 推荐(0) 编辑
摘要:环境:Windows 7 Home BasicCygwin (不是必要条件,个人喜好,从该镜像安装:China:mirrors.neusoft.edu.cn(ftp))MinGW (使用CodeBlocks捆绑的,设置到Path)使用的插件:color-theme.elyasnippetauto-complete-1.3.1smart-compile.eltabbar.el配置文件:http://files.cnblogs.com/wucg/emacs_home..zipauto-complete 可能需要重装install.M-x 3 (水平分割窗口)编写HelloWorld.cppM-x 阅读全文
posted @ 2012-11-17 23:52 庚武 阅读(432) 评论(0) 推荐(0) 编辑
摘要:http://open.163.com/http://study.163.com/mooc/find.htm http://www.scotthyoung.com/blog/mit-challenge/ http://ocw.mit.edu/index.htm http://www.core.org 阅读全文
posted @ 2012-11-06 10:11 庚武 阅读(618) 评论(0) 推荐(0) 编辑
摘要:SELECTCASE WHEN COLUMN_NAME1 = VALUE1 AND COLUMN_NAME2 = VALUE2 THEN VALUE_WANTED1 ELSE VALUE_WANTED2END, * FROM TABLE_NAMESELECTCASE COLUMN_NAME1 WHEN VALUE1 THEN VALUE_WANTED1 WHEN VALUE2 THEN VALUE_WANTED2 ELSE VALUE_WANTED3END, * FROM TABLE_NAME 阅读全文
posted @ 2012-11-01 16:57 庚武 阅读(324) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示