For Eclipse plug-in Project
快捷键
方法提示: alt+/删除: ctrl+Dundo: ctrl+Zredo: ctrl+Ysource提示: alt+shift+Scomment: ctrl+/comment: ctrl+shift+/
1.Menu(菜单栏)
Fil...
分类:
系统相关 时间:
2015-01-06 11:47:35
阅读次数:
262
常用手动查询方法是直接查询:http://www.ip138.com/
代码实现方法如下:
方法I:C语言实现
//原理: 通过访问"http://city.ip138.com/ip2city.asp"解析返回内容
#include
#pragma comment (lib,"Urlmon.lib")
void GetBigIpAddress(char *szBuff)
{
...
分类:
其他好文 时间:
2015-01-06 10:03:39
阅读次数:
113
#include #include #include #include "mysql.h" #pragma comment(lib, "libmysql.lib"); using namespace std; int main() { MYSQL mysql; mysql_...
分类:
数据库 时间:
2015-01-06 02:04:14
阅读次数:
245
注释就是对代码的解释和说明。目的是为了让别人和自己很容易看懂,一看就知道这段代码是做什么用的。正确的程序注释一般包括序言性注释和功能性注释。正则的注释语法:(?#comment),例如:1[0-2]\d(?#100-129)。一个扩展,忽略模式下的正则写法: (? # 查找尖括号括起来的字...
分类:
其他好文 时间:
2015-01-05 10:53:32
阅读次数:
108
改过LD_LIBRARY_PATH改过 /etc/ld.so.conf参考这篇文章http://blog.csdn.net/zjuylok/article/details/4152559最后都不好使,最后一句话指点迷津But if I comment the line that sets theja...
分类:
编程语言 时间:
2015-01-03 23:47:21
阅读次数:
365
Longest Common SubsequenceGiven two strings, find the longest comment subsequence (LCS).Your code should return the length of LCS.样例For "ABCD" and "ED...
分类:
其他好文 时间:
2015-01-03 15:55:06
阅读次数:
177
好久没用BCB了,真的有些陌生了,当然个烂笔头吧。1 先 implib c:\xxx.lib c:\xxx.dll 生成lib文件2 #pragma comment(lib,"xxx.lib")3 extern "C" __declspec(dllimport) __stdcall int AFun...
分类:
编程语言 时间:
2015-01-03 07:02:04
阅读次数:
189
1.安装samba
$sudo apt-get install samba
2.编辑配置表
$vi /etc/samba/smb.conf 在最后增加以下SECTION:
[ home ]
comment = workplace
browseable = yes
writeable = yes
path = /home/
valid users = smb
3.创建sm...
分类:
系统相关 时间:
2015-01-02 22:29:15
阅读次数:
238
django 内建标签autoescape控制当前自动转义的行为,有on和off两个选项{% autoescape on %} {{ body }}{% endautoescape %}block定义一个子模板可以覆盖的块,在模板中(上一节)有使用示例comment注释,{%comment%}...
分类:
其他好文 时间:
2015-01-02 19:53:23
阅读次数:
230
学了c++半个学期了,自己动手做了一个游戏。(有什么不好的地方,欢迎指出)#include
#include
#include
#include
#include
#include
#include
#include
# pragma comment (lib, "Winmm.lib")//导入Winmm.lib库
using namespace std;
int n...
分类:
编程语言 时间:
2015-01-01 09:00:10
阅读次数:
216