转载
hql__
这个作者很懒,什么都没留下…
展开
-
数组和指针的互换
由来: 我们在学习C语言的时候, 经常会写这样的程序: void Func1(int *p) { } void Func2(int a[]) { } int main() { int a[10]; Func1(a); int *p; Func2(p); } 即一维数组与指针作为函数参数的互换使用, 我们可以一眼看出这转载 2012-04-02 23:23:11 · 1695 阅读 · 0 评论 -
VC 中TEXT、_T、L的区别
对于从VC++6.0转到VS2005编译环境中的程序员。往往会碰到字符集之间的转换。 VC6.0采用的是ANSI字符集,而VS2005或者VS2008是采用的Unicode字符集。 L: 比如创建一个窗口类: HWND hWnd=CreateWindow(L"ClassName",L"最简单的Direct3D程序", WS_转载 2012-11-19 10:09:58 · 423 阅读 · 0 评论 -
Identifying and non-identifying relationships
An identifying relationship means that the child table cannot be uniquely identified without the parent. For example, you have this situation in the intersection table used to resolve a many-to-many r转载 2012-12-14 10:35:59 · 419 阅读 · 0 评论 -
详细讲解Java中log4j的使用方法
1、Log4j是什么? Log4j可以帮助调试(有时候debug是发挥不了作 用的)和分析,要下载和了解更详细的内容,还是访问其官方网站吧:http://jakarta.apache.org/log4j . 2、Log4j的概念 Log4j中有三个主要的组件,它们分别是 Logger、Appender和Layout,Log4j 允许开发人员定义多个Logger,每个Logge转载 2013-03-11 11:32:43 · 432 阅读 · 0 评论