1.
引用类型是类型安全的指针,它们的内存是分配在堆(保存指针地址)上的。String、数组、类、接口和委托都是引用类型。2.
强制类型转换与as类型转换的区别:当类型转换非法时,强制类型转换将抛出一个System.InvalidCastException异常,而as不会抛出异常,它返回一个null...
分类:
其他好文 时间:
2014-05-23 07:27:25
阅读次数:
408
using System;using System.Collections.Generic;using
System.Linq;using System.Text;namespace SU{ /// /// 中文转拼音 /// public class
PinYin ...
分类:
其他好文 时间:
2014-05-23 06:46:51
阅读次数:
395
1 using System; 2 using System.Threading.Tasks; 3
using System.Runtime.InteropServices.WindowsRuntime; 4 using
Windows.Graphics.Imaging; 5 using...
分类:
移动开发 时间:
2014-05-23 06:35:37
阅读次数:
295
为角色管理配置应用程序。此元素是 .NET Framework 2.0
版中的新元素。configuration 元素(常规设置架构)system.web 元素(ASP.NET 设置架构)roleManager 元素(ASP.NET
设置架构) enabled="true|false" ...
分类:
Web程序 时间:
2014-05-23 06:02:48
阅读次数:
332
一:可选择保留位数,注释很解释的很详细,上图二:全部代码using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using Sys...
16:20 2013/7/7Oracle 登陆管理员登陆 sqlplus sys/root as
sysdba (密码认证)这个root是安装数据库最初你输入的口令 sqlplus /as sysdba (主机认证 要求系统用户就是DBA用户)普通登陆
sqlplus scott/tiger(如果密...
分类:
数据库 时间:
2014-05-23 04:57:01
阅读次数:
309
second order system anlysis
在matlab里面搭建好相应的仿真模型图
当T0 = 10 ,K1 = 1,T1 = 1的时候
根据二阶系统的开,闭环传递函数的特点,这里我们可以通过调节系数的值,间接的调节Wn 和 epsilon(阻尼)的值
在上图中epsilon...
分类:
其他好文 时间:
2014-05-21 16:35:01
阅读次数:
271
Third order system anlysis
当 T0 = 1 ,T1 = 1 ,T2 = 1, K1 = 1 K2 = 1,时的matlab仿真分析
此时超调很大,稳定时间长
假设T0 = 1 , K1 = 1 K2 = 12,T1 = 0.1 T2 = 0.5 这样一来
我故意设置...
分类:
其他好文 时间:
2014-05-21 15:26:54
阅读次数:
294
最近闲来无事写了一个统计C或者C++代码行数的程序,主要用到了python以及正则表达式
#-*-coding:utf-8
#!/usr/bin/python
import re
import os
import sys
'''get the file or dir in one path'''
def getfilename(path):
if os.path.exi...
分类:
编程语言 时间:
2014-05-21 15:06:30
阅读次数:
379
原因:MinGW没有安装c编译器。
MinGW的安装管理器的"Basic Setup"栏目找不到c编译器:
在“All Packages”->"MSYS"->"MSYS System Builder"栏目中勾选"msys-gcc":...
分类:
Windows程序 时间:
2014-05-21 13:48:54
阅读次数:
1228