码迷,mamicode.com
首页 >  
搜索关键字:oracle主键和unique cons    ( 609个结果
OpenGL绘制简单的时钟(首发测试)
编辑器 vs2012 1 #include 2 #include //本来OpenGL程序一般还要包含和, 3 //但GLUT的头文件中已经自动将这两个文件包含了,不必再次包含。 4 #include 5 #include 6 7 cons...
分类:其他好文   时间:2015-04-25 12:08:25    阅读次数:223
AOP的最佳注入方式——MSIL注入
下载PostSharp(Visual Studio Gallery)。安装一个AOP编译器和引入PostSharp.Aspects(注意安装过程中请使用免费的Express版本),然后初步演示代码:using PostSharp.Aspects;using System;namespace Cons...
分类:其他好文   时间:2015-04-25 09:21:52    阅读次数:168
MySQL数据库单例连接简单实现(MySQL扩展)
/** * MySQL数据库单例实现 * * @author shizqiang at 2015-04-22 * */final class MySQLFactory { private static $instance; private function __cons...
分类:数据库   时间:2015-04-22 23:57:48    阅读次数:147
Scheme中lambda表达式与函数指针小例
SICP/Chapter2/Exercise-2.4 Lambda表达式语法 (lambda kw-formals body) 题目描述用过程性表示方式重写序对的cons、car、cdrScheme代码(define (cons-24 x y) (lambda (m) (m x y))) (define (car-24 z) (z (lambda (p q) p)))这段代码只有4行,...
分类:其他好文   时间:2015-04-22 22:22:40    阅读次数:175
SICP: 第二章之序列操作:程序的共性
#lang racket;guo lv qi(define (filter predicate sequence) (cond ((null? sequence) '()) ((predicate (car sequence)) (cons (car sequence) ...
分类:其他好文   时间:2015-04-20 22:38:28    阅读次数:169
使用HTML5构建iOS原生APP(2)
本文转载至http://ju.outofmemory.cn/entry/18807有时候我们在内嵌的webview中希望点击一个链接之后,触发iOS原生事件,而不是webview内页面跳转(因为webview的跳转很生硬,而ajax+js模拟则不如原生segue平滑)。有时候我们希望在页面内cons...
分类:移动开发   时间:2015-04-20 20:34:50    阅读次数:236
C#泛型的学习
编码:class Program { static void Main(string[] args) { int obj1 = 2; Test test1 = new Test(obj1); Cons...
分类:Windows程序   时间:2015-04-20 12:47:56    阅读次数:141
POJ 题目3694 Network(tarjan,LCA,求桥)
Network Time Limit: 5000MS   Memory Limit: 65536K Total Submissions: 7179   Accepted: 2600 Description A network administrator manages a large network. The network cons...
分类:Web程序   时间:2015-04-17 11:42:50    阅读次数:167
F#实现的单链表(函数式的思想)
// 在 http://fsharp.net 上了解有关 F# 的更多信息// 请参阅“F# 教程”项目以获取更多帮助。type list = | Nil | Cons of int * listlet x = Cons(1, Cons(2, Cons(3, Cons(4, Nil)...
分类:其他好文   时间:2015-04-16 19:20:01    阅读次数:127
ural 1960 Palindromes and Super Abilities 题解
题意:给一个串s,按顺序一个个加入到序列里面。输出每次加入之后序列中的本质不同的回文串个数。回文自动机模板题- -extend函数里面,如果那个if进去了,就代表多了一个本质不同的回文串。 1 #include 2 #include 3 const int MAXN=100000+5; 4 cons...
分类:其他好文   时间:2015-04-12 01:22:34    阅读次数:145
609条   上一页 1 ... 42 43 44 45 46 ... 61 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!