首页 > 2014年09月22日 > 全部分享
C 函数指针的用法
#include #include typedef struct DataNode{ int (*handle)();}tDataNode;int print(){ printf("Hello World!\n"); return 0;}int main(){ int a = 0; tDataNod...
分类:其他   时间:2014-09-22 18:24:24    收藏:0  评论:0  赞:0  阅读:207
ajax与一般处理程序 HTTP协议交互
1,一般处理程序中context.Response.ContentType = "text/plain",则 ajax参数中 也是 text 类型。2,一般处理程序中 转化为json数据格式:命名 空间:using Newtonsoft.Json;代码:string strjson = JavaS....
分类:其他   时间:2014-09-22 18:24:14    收藏:0  评论:0  赞:0  阅读:254
搭建SSH框架所需Jar包及其解释
SSH2 ----struts2.1.8---- struts2-core-2.1.8.1.jar struts2核心包 struts2-json-plugin-2.1.8.1.jar struts2的json插件--var s = {name:"zhangs",age:"18"} struts2-...
分类:其他   时间:2014-09-22 18:24:04    收藏:0  评论:0  赞:0  阅读:254
Extended symmetrical multiprocessor architecture
An architecture for an extended multiprocessor (XMP) computer system is provided. The XMP computer system includes multiple SMP nodes. Each SMP node i...
分类:其他   时间:2014-09-22 18:23:54    收藏:0  评论:0  赞:0  阅读:793
Unity 实现物体破碎效果(转)
感谢网友分享,原文地址(How to Make an Object Shatter Into Smaller Fragments in Unity),中文翻译地址(Unity实现物体破碎效果)In this tutorial I will show you how to create a simpl...
分类:其他   时间:2014-09-22 18:23:34    收藏:0  评论:0  赞:0  阅读:745
简单工厂模式
简单工厂模式:用一个类负责创建实例的任务,通常是此类中的一个static函数具体负责,此函数中包含了必要的逻辑判断,根据客户端的选择条件动态实例化相关的类。这些实例化的类都派生自同一个父类。使用简单工厂模式,在新增分支时,要新增一个功能子类同时在工厂类中增加逻辑判断分支。//简单工厂模式//父类cl...
分类:其他   时间:2014-09-22 18:23:24    收藏:0  评论:0  赞:0  阅读:205
python的一些库
1、os.path os.path.split():os拆分路径,返回 一个tuple,第一个为路径,第二个为文件名; os.path.basename():只获取文件名; os.path.dirname():只获取路径; os.path.splitext():将路径,文件名,扩展名分开,并...
分类:编程语言   时间:2014-09-22 18:23:14    收藏:0  评论:0  赞:0  阅读:294
node.js--dns解析demo
//引入模块var http = require('http'), url = require('url'), querystring = require('querystring'), fs = require('fs'), dns = require('dns');//展...
分类:Web开发   时间:2014-09-22 18:22:54    收藏:0  评论:0  赞:0  阅读:475
Linux常用命令汇总
1、获取文件全路径每次拼凑路径比较麻烦,希望一个命令能给出包含机器名的完整路径:$ ls | sed "s:^:`pwd`/:" | sed "s/^/$HOSTNAME:/g"[root@test1 test]# ls | sed "s:^:`pwd`/:" | sed "s/^/$HOSTNAM...
分类:系统服务   时间:2014-09-22 18:22:44    收藏:0  评论:0  赞:0  阅读:301
解决Tomcat6解压版在64位windows系统上无法启动服务的问题
解决Tomcat6解压版在64位windows系统上无法启动服务的问题 由于客户环境为64位windows系统,开发环境一直用32位。tomcat使用6.0.20非安装版。部署时发现在64位系统下,注册服务后无法正常启动服务(直接运行startup.bat可以成功启动tomcat),日志中报错信息为...
分类:Windows开发   时间:2014-09-22 18:22:34    收藏:0  评论:0  赞:0  阅读:427
php字符串与字符替换函数
在php教程替换字符效率最高也是最简单字符替换函数str_replace($arr1,$arr2,$str)实例一str_replace("iwind", "kiki", "i love iwind, iwind said");将输出 "i love kiki, kiki said"结果即将 原字符...
分类:Web开发   时间:2014-09-22 18:22:24    收藏:0  评论:0  赞:0  阅读:249
Multiprocessing system employing pending tags to maintain cache coherence
A pending tag system and method to maintain data coherence in a processing node during pending transactions in a transaction pipeline. A pending tag s...
分类:其他   时间:2014-09-22 18:22:14    收藏:0  评论:0  赞:0  阅读:288
数据字典管理思路
javascript:1、思路一个页面两个form表单form1,form2。2、利用Ajax进行查询。3、重点是有一个页面form3表单与前面表单的form2相同但查询出来的内容form3表单替换前面form2表单实现无刷新动态查询。dictionary_index.jsp页面:html: ...
分类:其他   时间:2014-09-22 18:22:04    收藏:0  评论:0  赞:0  阅读:331
IIS相关服务和无法启动服务W3SVC错误提示
首先,打开“服务”查看下面的服务是否启动。(下面的两个服务就是跟IIS相关的服务,计算机(右键)-》管理-》服务和应用程序-》服务)Windows Process Activation Service服务world wide web publishing service服务 没有启动,启动服务。
分类:其他   时间:2014-09-22 18:21:54    收藏:0  评论:0  赞:0  阅读:328
生产者消费者问题
public class Depot { int capacity ; int size; public Depot(int capacity){ this.capacity = capacity; this.size = 0; } ...
分类:其他   时间:2014-09-22 18:21:44    收藏:0  评论:0  赞:0  阅读:277
javascript: 禁用右键、文本选择功能、复制按键
分类:编程语言   时间:2014-09-22 18:21:14    收藏:0  评论:0  赞:0  阅读:200
jquery 3秒后自动跳转页面
跳转页面 欢迎来到******!页面将在3秒后跳转...
分类:Web开发   时间:2014-09-22 18:21:04    收藏:0  评论:0  赞:0  阅读:708
Ubuntu 安装Mongo DB
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ 官方文档见上面链接: 其实就几步 sudo?apt-key?adv?--keyserver?hkp://keyserver.ubuntu.com:80?--recv?7F0CEB10 echo?‘deb?http:...
分类:数据库技术   时间:2014-09-22 17:18:34    收藏:0  评论:0  赞:0  阅读:313
只会CSS还不够,LESS、SASS、BootStrap、Foundation一网打尽!
有些人想学CSS,不知如何下手;有些人已经学会CSS的各种属性,却不知如何运用;有些人会平面设计,不知道如何与网页设计结合;有些人会HTML,就是学不会CSS。试问自己,图中的技术你都会了吗? ? ? 别总是怨天尤...
分类:Web开发   时间:2014-09-22 17:18:24    收藏:0  评论:0  赞:0  阅读:300
JavaScript定义类和对象以及实现继承
# 定义类和对象 ## 工厂模式 function createCar(color, doors, mpg){ var car = {}; car.color = color, car.doors = doors, car.mpg = mpg; car.showColor = function(){alert(this.color);}; return car; } 工...
分类:编程语言   时间:2014-09-22 17:18:14    收藏:0  评论:0  赞:0  阅读:325
1528条   上一页 1 ... 24 25 26 27 28 ... 77 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!