0){ out.write(buf,0,len); } out.close(); ins.close(); alert("上传成功"); ]]>
分类:
Web程序 时间:
2014-11-19 00:14:58
阅读次数:
385
clc;clear all;close all;t = linspace(0,24*pi,1000);r = exp(cos(t)) - 2*cos(4.*t) + (sin(t./12)).^5;[x,y] = pol2cart(t,r);plot(x,y);
分类:
其他好文 时间:
2014-11-18 13:19:21
阅读次数:
173
clc;clear all;close all;[X,Y,Z,V] = flow;x1 = min(min(min(X)));x2 = max(max(max(X)));y1 = min(min(min(Y)));y2 = max(max(max(Y)));z1 = min(min(min(Z)))...
分类:
其他好文 时间:
2014-11-18 13:13:58
阅读次数:
173
题目描述:
Given a string containing just the characters '(', ')', '{', '}', '[' and ']',
determine if the input string is valid.
The brackets must close in the correct order, "()" and "()[]{}" a...
分类:
其他好文 时间:
2014-11-18 11:54:07
阅读次数:
173
文件常规删除的三种方法都比较熟悉。#define FILE_DELETE_ON_CLOSE 0x00001000@1 Nt/ZwCreateFile Nt/ZwOpenFile 填充OpenPacket结构,标记FILE_DELETE_ON_CLOSE ...
以往我在WPF里,用ShowDialog展示出一个页面,一般都是用Close()进行关闭。今天看传智播客的视频时,了解到还能直接给DialogResult一个TRUE或者false的属性,使页面关闭。第一个页面 private void Button_Click(object sender, Rou...
分类:
其他好文 时间:
2014-11-17 10:29:20
阅读次数:
146
1、读操作:QDomDocument doc( “mydocument " );QFile file( "ccc.xml" );if ( !file.open( IO_ReadOnly ) ){return;}if ( !doc.setContent( &file ) ){file.close();...
分类:
其他好文 时间:
2014-11-16 22:59:57
阅读次数:
217
之前已经说过了Oracle数据库的启动,今天再来看看Oracle数据库的关闭。一、数据库关闭的三个阶段Oracle数据库启动过程包括三个步骤: NOMOUNT -> MOUNT -> OPEN,数据库的SHUTDOWN实际也是有三个步骤:CLOSE -> DISMOUNT - > SHUTDOWN。SQL> SHUTDOWN; Database closed.Database dismounte...
分类:
数据库 时间:
2014-11-16 01:54:43
阅读次数:
301
文件方法
读写:
#!/usr/bin/env python
f = open('somefile.txt','w')
f.write('Hello,')
f.write('World!')
f.close()
f = open('somefile.txt','r')
print f.read(5)Hello使用基本文件方法:
#!/usr/bin/env python
f = open(r...
分类:
编程语言 时间:
2014-11-15 15:32:37
阅读次数:
218
Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must close in the correct ...
分类:
其他好文 时间:
2014-11-15 15:23:46
阅读次数:
179