--------------------------------------
android培训、java培训、ios培训期待与您交流!
---------------------------------OC语言前期准备一、OC简介Oc语言在c语言的基础上,增加了一层最小的面向对象语法,完全兼容C语...
分类:
编程语言 时间:
2014-05-05 23:38:04
阅读次数:
396
五一过的一多半已经过去了,感觉过的真快。 言归正传说说最近一直在用的winform分页控件。
一. 添加新项-用户控件二.拖控件,这个很简单三.写代码using System;using System.Collections.Generic;using
System.ComponentModel;....
Javascript中有两种循环的方法for循环和for-in循环for循环主要用来循环数组,for-in循环应该用来遍历非数组对象。从技术上来说,for-in循环也可以用来遍历数组(JS中数组也是对象),但这样做并不是很好,当该数组被自定义函数扩大后,有可能导致逻辑上的错。for循环的常规写法fo...
分类:
编程语言 时间:
2014-05-05 23:35:35
阅读次数:
449
查询数据简单的查询 1 create table stu_info 2 ( 3 sno int
not null 4 ,sname varchar(20) not null 5 ,sex varchar(2) not null 6 ...
分类:
数据库 时间:
2014-05-05 23:35:08
阅读次数:
618
C++开发的项目难免会用到STL的string,使用管理都比char数组(指针)方便的多,但在得心应手的使用过程中也要警惕几个小陷阱,避免我们项目出bug却迟迟找不到原因。1.
结构体中的string赋值问题直接通过一个例子说明,下面的例子会输出什么:#include #include #i...
分类:
编程语言 时间:
2014-05-05 23:33:45
阅读次数:
413
The general mechanism for executing tasks is
the executor service. If you think in terms of tasks and let an executor service
execute them for you, yo...
分类:
编程语言 时间:
2014-05-05 23:32:44
阅读次数:
389
1 Arrays.sort(points, new comparator());2 3
public static class comparator implements Comparator {4 public int compare(Point
p1, Point p2) {5 ...
分类:
编程语言 时间:
2014-05-05 23:32:10
阅读次数:
444
1 需要明白概念:执行环境变量对象,活动对象作用域,作用域链闭包垃圾处理机制闭包陷阱
分类:
编程语言 时间:
2014-05-05 23:29:49
阅读次数:
326
// Test.cpp : 定义控制台应用程序的入口点。//#include
"../I_Timer.H"#include void onTimer1(){ std::cout createTimer();#if 1 auto
myTimer1 = /*Timer::createTime...
分类:
其他好文 时间:
2014-05-05 23:28:48
阅读次数:
341