关于ajax

2017-04-21
function () { if(typeof XMLHttpRequest != "undefined") { return new XMLHttpRequest(); } else if(typeof ActiveXObject != "undefined"){ if(typeof arguments.callee.activeXString != "string") { var versions = ["MSXML2.XMLHttp.6.0","MSXML2.XMLHttp.3.0","MSXML2.XMLHttp"]; var i,len; for(... Read More »

存储类、链接和内存管理

2017-04-08
> auto , extern , static , register , const , volatile , resticted > rand() , stand() , time() , malloc() , calloc() , free() > 在C中如何确定变量的作用域,它在多大范围内可知,以及变量的生存期有多长 不带{}的代码块 先前提到过c99有一个特性,语句若为循环或者if语句的一部分,即使没有使用{ },也认为是一个代码块。 更完整的说,整个循环是该循环所在代码块的子代码块,而循环体是整个循环代码块的子代码块。与之类似,if语句是一个代... Read More »

具有代码块作用域的静态变量

2017-03-28
有关输入、输出以及缓冲和非缓冲输入之间的区别的更多内容 从键盘模拟文件结尾条件的方法 如何重定向将你的程序与文件相连接 使用户界面更加友好 在计算机世界中,我们在很多场合下都使用词语输入(input)和输出(output),例如,在讲输入和输出设备(如键盘、磁盘驱动器和激光打印机等)时,在指用于输入和输出的数据时,以及在指执行输入和输出任务的函数时。 I/O函数将信息传输至你的程序并从你的程序中传出信息;printf()、scanf()、getchar()和put char()就是这样的例子。 最初,输入/输出函数并不是C定义的一部分。输入输出的开发是留给C来实现完成的。在实践... Read More »

How Browsers work

2017-02-28
###The browser’s main functionality the browser main functionality is to present the web resource you choose, by requesting it from the server and display it on the browser window.The resource format is usually HTML but also PDF,image and more.The location of the resource is specified by the use... Read More »