Pop is an extensible animation engine for iOS and
OS X. In addition to basic static animations, it supports spring and decay
dynamic animations, makin...
分类:
其他好文 时间:
2014-05-04 12:04:46
阅读次数:
302
static void Main(string[] args) { //string[] str =
{ "", "" }; //TestParams(str); //TestParams("我","爱","北京","...
分类:
其他好文 时间:
2014-05-04 11:42:53
阅读次数:
190
首先要添加引用System.Runtime.Serialization.public
class JSONHelper{ public static string Serialize(T obj) {
System.Runtime.Serialization.Json.Da...
分类:
Web程序 时间:
2014-05-04 11:27:29
阅读次数:
382
1: /// 2: /// 对比两个同类型的泛型集合并返回差异泛型集合 3: /// 4: ///
泛型类型 5: /// 修改后的数据集合 6: /// 原始数据集合 7: /// 返回与原始集合有差异的集合 8: public static ...
分类:
其他好文 时间:
2014-05-04 10:56:20
阅读次数:
270
为了减少代码冗余,应将公共函数写在类中,供不同ASP.NET页面调用。
1,先新建一个类,并在类中添加函数逻辑
namespace public_function_demo
{
public class MyFunction
{
public static string tbName(string tbNo)
{
...
分类:
Web程序 时间:
2014-05-04 09:34:41
阅读次数:
342
package ioTest.io3;
/*
* 删除有内容的文件夹:从最里面一直向外删除。建议千万不要删除硬盘上面有用的文件夹哦
* 方法思路
* 循环+递归
*/
import java.io.File;
public class RemoveDir {
public static void main(String[] args) {
// TODO Auto-generat...
分类:
编程语言 时间:
2014-05-04 09:25:58
阅读次数:
464
这是程序代码,我是按照网上和视频讲解的步骤写的代码:import
java.sql.*;public class jdbc {/*** @param args*/public static void main(String[]
args) {// TODO Auto-generated method...
分类:
数据库 时间:
2014-05-03 23:00:11
阅读次数:
385
首先看下面这个例子
public static void main(String[] args) {
ArrayList al1 = new ArrayList();
al1.add(1);
ArrayList al2 = new ArrayList();
al2.add("hello");
//int型链表和string型链表,结果为true
System.out.p...
分类:
编程语言 时间:
2014-05-03 22:02:53
阅读次数:
376
直接转换的时候遇到两个问题:
1、预编译头文件*.PCH找不到
2、static_cast”: 无法从“void (__thiscall CView2::* )(void)”转换为“LRESULT (__thiscall CWnd::*
1、来源:http://www.zhuyanfeng.com/archives/2231
错误:
fatal error C1083: 无法打开...
分类:
编程语言 时间:
2014-05-03 21:56:12
阅读次数:
415
package ioTest.io3;
import java.io.File;
/*
* 获取一个目录下的所有文件夹和文件,包括子文件夹和子文件 。
* 并将文件夹和文件名称打印在控制台上面。并且要显示文件目录的层级
* 注:运用了递归的算法。
*/
public class FileDemo3 {
public static void main(String[] args) {
...
分类:
编程语言 时间:
2014-05-03 20:54:44
阅读次数:
677