<!DOCTYPE html> <html lang="en"> <head> <meta charest="Utf-8"> <meta name="viewport" content="width=device-width,initial-seale=1"> <title>helloworld</ ...
分类:
其他好文 时间:
2017-07-19 14:29:47
阅读次数:
166
C 语言中同意将值为 0 的变量强制转换成任一类型的指针,转换结果是一个NULL指针。 (type*)0 // 一个 type 类型的NULL指针 用这个指针訪问结构体内的成员是非法的,可是 &(((type*)0)->field) 是为了计算 field 的地址 ,编译器不会产生訪问 field ...
分类:
其他好文 时间:
2017-07-19 14:22:37
阅读次数:
190
纯个人记录使用,原文链接:http://www.cnblogs.com/tylerdonet/p/3520862.html 1.url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。 2.type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其 ...
分类:
Web程序 时间:
2017-07-19 14:12:30
阅读次数:
158
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <style> div{ width: 200px; height: 100px; background: pink; border: 1px solid #ccc; mar ...
分类:
Web程序 时间:
2017-07-19 14:10:10
阅读次数:
264
CreateTime--2017年7月19日10:37:11Author:Marydon js重置form表单 需要使用的方法:reset() 示例: HTML部分 <form id="test"> <input id="test2" type="hidden" value="2"/> <texta ...
分类:
Web程序 时间:
2017-07-19 12:02:57
阅读次数:
490
1.取组件值 传递form data,load发送 请求加载数据 <script type="text/JavaScript"> mini.parse(); // get grid var grid = mini.get("grid"); var form = new mini.Form("#for ...
分类:
Web程序 时间:
2017-07-19 11:55:22
阅读次数:
315
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style> *{ margin: 0px; padding: 0px; } .top-nav{ width: 100%; height: 10px; backg ...
分类:
其他好文 时间:
2017-07-19 11:52:09
阅读次数:
115
题目原文: Add a method find() to the union-find data type so that find(i) returns the largest element in the connected component containing i. The operati ...
分类:
其他好文 时间:
2017-07-19 11:50:10
阅读次数:
212
数组声明 Go 语言数组声明需要指定元素类型及元素个数,语法格式如下: var variable_name [SIZE] variable_type 以上为一维数组的定义方式。数组长度必须是整数且大于 0。例如以下定义了数组 balance 长度为 10 类型为 float32: var balan... ...
分类:
编程语言 时间:
2017-07-19 11:49:19
阅读次数:
178