摘要: 1. [代码]我的.emacs文件,用于C/C++及shell编程。;;我的配置;;1.基本配置;;外观配置***************;;禁用启动画面(setq inhibit-startup-message t);;设置字体大小 参考http://www.linuxsir.org/bbs/th... 阅读全文
posted @ 2014-09-04 15:20 虚空之眼 阅读(353) 评论(0) 推荐(0)
摘要: 1. [代码][C/C++]代码 服务端://// main.m// server//// Created by mac on 13-4-15.// Copyright (c) 2013年 mac. All rights reserved.//#import #import #import #imp... 阅读全文
posted @ 2014-09-04 15:18 虚空之眼 阅读(264) 评论(0) 推荐(0)
摘要: 1. [代码][C/C++]代码 /** Copyright (c) 2011, Jim Hollinger* All rights reserved.** Redistribution and use in source and binary forms, with or without* mod... 阅读全文
posted @ 2014-09-04 15:16 虚空之眼 阅读(542) 评论(0) 推荐(0)
摘要: 1. [代码]容易写成自己输入URL,这里测试一个例子 #include #include #include #include #define MAXN 1024+10char url [MAXN] = "http://www.google.com:80/wiki/Search?search=tra... 阅读全文
posted @ 2014-09-04 15:14 虚空之眼 阅读(2455) 评论(0) 推荐(0)
摘要: 1. [代码][C/C++]代码 #include #include #include int main(){ MYSQL mysql;//连接数据库的变量 MYSQL_RES *res;//存放查询结果的变量 MYSQL_ROW row; char *query; int t,r; char *s... 阅读全文
posted @ 2014-09-04 15:11 虚空之眼 阅读(649) 评论(0) 推荐(0)