JDBCDemo.java:
package com.itheima.jdbc;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import com.itheima.pool.MyPool;
pub...
分类:
数据库 时间:
2014-10-25 21:35:24
阅读次数:
227
table 控制单双行颜色以及鼠标hover颜色
单独控制tr行背景色
单独控制td内容排版
分类:
其他好文 时间:
2014-10-25 11:44:56
阅读次数:
305
package com.example.dliagdemo;
import android.app.Activity;
import android.app.Dialog;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.view.LayoutInflater;
import android.v...
分类:
移动开发 时间:
2014-10-25 00:55:31
阅读次数:
221
外观模式是什么?为什么要使用外观模式?使用外观模式有什么好处?外观模式有什么特点?本篇博客就外观模式的原理以及最近的使用心得做个总结。...
分类:
其他好文 时间:
2014-10-24 20:48:29
阅读次数:
169
跟着cxlove的矩阵专题(http://blog.csdn.net/ACM_cxlove/article/details/7815594)刷的,一道一道来。最裸的题目,直接快速幂算就好了。#include #include #include #include #include #include #...
分类:
其他好文 时间:
2014-10-24 18:04:07
阅读次数:
164
这个例子是官方例子中的一个。这里将其简单的加了些注释。
local TestUIPageViewScene = class("TestUIPageViewScene",function()
return display.newScene("TestUIPageViewScene")
end)
-- ctor 相对于cocos中的init()函数
function TestUIPageV...
分类:
其他好文 时间:
2014-10-24 16:32:26
阅读次数:
290
Android L SDK发布的,新API中最有意思的就是RecyclerView (后面为RV) 和 CardView了, 按照官方的说法, RV 是一个ListView 的一个更高级更灵活的一个版本, 可以自定义的东西太多了。以前会不会觉得写一个Horizontal ListView 都觉得.....
分类:
移动开发 时间:
2014-10-24 12:55:37
阅读次数:
326
$\bf命题:$设$W = \left\{ {A \in {P^{n \times n}}|tr\left( A \right) = 0} \right\}$,求$W$的一组基与维数1$\bf命题:$
分类:
其他好文 时间:
2014-10-24 12:41:08
阅读次数:
191
对字符串使用tr包含起来,因为tr是QObject的一个静态函数,所以它可以直接调用。在生成language.ts文件之前应该编辑.pro文件,如下:QT += core guigreaterThan(QT_MAJOR_VERSION, 4): QT += widgetsTRANSLAT...
分类:
编程语言 时间:
2014-10-24 10:27:03
阅读次数:
181
1.命令行模式:
curl -d "附加信息" url
curl -v "url"
2.通过程序调用
static size_t process_data(void *buf, size_t size, size_t nmemb, void *str)
{
std::string &content = *(std::string *)str;
std...
分类:
Web程序 时间:
2014-10-23 22:49:02
阅读次数:
246