摘要:
目录
1.设计父类时考虑不周到,等到设计或者编写子类的时候,才发现父类需要修改、增加功能等等,都很平常
2.尽量避免多次写同样的代码
3. 持续改进
4.评价软件设计的高低的几个基本原则
内容
1.软件设计/编程中,有一门基本技术叫“面向对象编程”。面向对象编程的基本思路是对象封装和继承。继承的基本思路是,所有子类共同的部分,提取、抽象后,放到父类中。
这......
摘要:
常见的大型软件项目开发文件目录结构
1. java 项目
调试阶段编译后的 .class 文件放到 classes 目录。将 classes 目录和 lib 中的其他工具 .jar 放到 classpath 中。运行当前目录是项目根目录。
正式发行版的 .class 放到一个或者多个 .jar 文件中,一般放在目根目录,也要加到 classpath 中去。
由于在 java 项目中......
用ASP实现下载*.ASP文件以下另存为:download.htm以下另存为:download.asp 【程序编程相关:
ASP.NET 2.0页面框架的几处变化】<a href=download.asp?filename=download.asp>guid.asp</a> 【推荐阅读:
密码学领域重大发现:山东大学王小云教授成】<% 【扩展信息:
Eclipse Web Tools Pl】<%@language=vbscript%>const forreading=1const tristatetrue=-1 const file_transfer_size=16384 response.buffer = truefunction transferfile(path, mimetype, filename)dim objfilesystem, objfile, objstreamdim chardim sentsend=0transferfile = trueset objfilesystem = server.createobject("scripting.filesystemobject")set objfile = objfilesystem.getfile(path)set objstream = objfile.openastextstream(forreading, tristatetrue)response.addheader "content-type", mimetyperesponse.addheader "content-disposition","attachment;filename=" & filename response.addheader "content-length", objfile.sizedo while not objstream.atendofstream char = objstream.read(1) response.binarywrite(char) ...
下一页 摘要:使用mdx数值函数如avg、count等的时候,通常会忽略空单元格!唯一的例外是count函数。它提供了includeempty参数,指明是否包括空单元格。1:non empty关键字一般使用在轴级别。select {[measures].[store sales]} on columns, non empty {[time2].[所有 time2].[1997].[q4].[10].childr......