程序经过编译后,得到一组目标模块(Object
Module),再经过链接程序将这组目标模块链接起来,形成一个完整的装入模块。如图。经过编译后得到三个目标模块A,B,C,它们的长度分别为L,M,N。其中B和C属于外部调用符号。根据链接时间的不同,程序的链接可分为三种方式:静态链接,装入时动态链接.....
分类:
其他好文 时间:
2014-05-07 13:57:13
阅读次数:
368
一个简单的随机函数工具类,总共提供了9种静态方法来获取不同的随机值随便写的,如果你还有什么更好的建议,请提出来,谢谢~index.Random类:代码:public
final class Random提供了9种静态方法来获取不同的随机值构造函数:public function Random()如果...
分类:
其他好文 时间:
2014-05-07 11:05:14
阅读次数:
404
单元IdHashSHA申明function GetFile_SHA1(const
iFileName: String): String; //Checksum hash value for firefox var SHA1 :
TIdHashSHA1; fileStre...
分类:
其他好文 时间:
2014-05-07 10:50:20
阅读次数:
245
//1、工厂模式 function createCar(){ var car = new
Object(); car.color="red"; ...
分类:
编程语言 时间:
2014-05-07 02:06:50
阅读次数:
520
今天下午做了一个滚动浏览效果,贴在此,积累$(function(){ /* * 滚动浏览 */
$.fn.autoScroll = function(o){ o = $.extend({ speed: 20, step : 1, up : null,
down : null }, o || {})....
分类:
其他好文 时间:
2014-05-07 01:49:02
阅读次数:
234
Cocos2d: jsb: ERROR: File
/Users/dcx_JD/Documents/cocos2d-x-2.2.2/scripting/javascript/bindings/generated/jsb_cocos2dx_auto.cpp:
Line: 4911, Function:...
分类:
Web程序 时间:
2014-05-07 00:41:38
阅读次数:
446
Sys.Application.add_load(function() {
var form = Sys.WebForms.PageRequestManager.getInstance()._form;
form._initialAction = form.action = window.location.href;
});
if (!documen...
分类:
Web程序 时间:
2014-05-06 23:36:38
阅读次数:
408
Jquery 方式获取 iframe Dom元素
测试页面代码:
jquery方式,访问iframe页面dom元素
function getIframeDom(){
// 获取iframe的test元素
var test = $("#frame_1").contents().find("#test");
alert(test.html())
}...
分类:
Web程序 时间:
2014-05-06 23:14:38
阅读次数:
343
#include
#include
/*
英语原文:
In function-like macros, a # operator before an identifier in the replacement-list runs
the identifier through parameter replacement and encloses the r...
分类:
编程语言 时间:
2014-05-06 22:01:02
阅读次数:
378