一、初学后写的第一个案例源码
效果图:
代码如下:
<script type="text/javascript"
src="/resource/jq...
分类:
其他好文 时间:
2014-06-19 12:46:18
阅读次数:
580
使用 fslex.exe 和 fsyacc.exe
在这一节,我们将学习如何使用fslex.exe 和 fsyacc.exe 两个工具,它是由 F# 提供的,用来为 F# 语言创建解析器。
注意
fslex.exe 和 fsyacc.exe 是以 ocamllex.exe和 ocamlyacc.exe 为基础的,它们是随 O'Caml 发布的工具。
正如前一章所讨论的,创...
分类:
其他好文 时间:
2014-06-19 09:38:59
阅读次数:
201
if (_type == "js") {//js预编译 var _script = "_define(function(exports,module){\n"; _script += "var $parent = \""...
分类:
其他好文 时间:
2014-06-15 23:52:57
阅读次数:
310
●boost锁的概述boost库中提供了mutex类与lock类,通过组合可以轻易的构建读写锁与互斥锁。▲mutex对象类mutex类主要有两种:boost::mutex,boost::shared_mutex,其中mutex有lock和unlock方法,shared_mutex除了提供lock和u...
分类:
其他好文 时间:
2014-06-15 23:47:04
阅读次数:
312
本页包含内容:
类型注解(Type Annotation)
类型标识符(Type Identifier)
元组类型(Tuple Type)
函数类型(Function Type)
数组类型(Array Type)
可选类型(Optional Type)
隐式解析可选类型(Implicitly Unwrapped Optional Type)
协议合成类型(Protocol Comp...
分类:
其他好文 时间:
2014-06-15 17:25:52
阅读次数:
287
// enter any type data to show Binary.c
// 输入任意类型数据转换成二进制
// version: 1.0
// date: 2014.6.12
// BUG提交: yinjunwithu@outlook.com
// 缺陷: 请勿使用vc 6.0编译 因为不支持long long及unsigned long long类型
// #define _CRT_...
分类:
编程语言 时间:
2014-06-15 09:44:48
阅读次数:
414
eclipse new server Cannot create a server using the selected type 网上有两种办法,其实原理一样第一种说法:还真的找到解决的方法了,如下:1.退出eclipse2.到[工程目录下]/.metadata/.plugins/org.eclipse.core.runtime3.把org.eclipse.wst.server.core.pre...
分类:
系统相关 时间:
2014-06-15 08:36:06
阅读次数:
216
nested exception is
java.lang.IncompatibleClassChangeError: class
org.springframework.core.type.classreading.ClassMetadataReadingVisitor has
interface...
分类:
编程语言 时间:
2014-06-13 16:38:47
阅读次数:
373
数据结构, 需要考虑两个方面:1. 每个元素具体的存储方法 (java中是一个对象)2.
元素之间的关系如何实现存储 (java中也是一个对象)另外在java中, 已经可以把跟数据结构有关的一些方法写到一个类里了.线性表顺序表c语言:
借助数组实现#define INIT_SIZE 100;type...
分类:
编程语言 时间:
2014-06-13 16:19:21
阅读次数:
282
求N^N最左边的一位1.转化为小数,快速幂2.数学公式************************************************#include#includeusing
namespace std;long long n;double n0;int cal(long long...
分类:
其他好文 时间:
2014-06-13 15:29:06
阅读次数:
224