建立一个通讯录的类note,该类中的属性有以下几项:String name,phone,MobilePhone,zip,address,Email 分别表示:姓名,固定电话,手机号,邮编,地址,电子邮件地址。方法有两个:Setnote()给属性赋初值得函数,方法show()显示一条通讯记录。 程序使用了ObjectInPutStream和ObjectOutPutStream这两个文件输入输出流,利用这两个文件输入输出流,可以方便的直接将通讯记录对象直接写入文件中,另外为了方便添加和删除一条记录还使用了系统的对象数组类Arraylist。同时也方便了查找操作。
上传时间: 2013-12-22
上传用户:wangdean1101
Java MP3 Player, Here s a list of features: - Reads, creates, updates, and removes id3v2.3 and id3v2.4 tags - Reads, creates, updates, and removes id3v1 tags - Extracts MPEG data such as bit rate, sample rate, channel mode, etc. - Calculates playing time of mp3 from mpeg information (no good w/VBR) - Can read and create Winamp styled playlists - Offers other utility classes such as MP3FileFilter and MP3Comparator - NullsoftID3GenreTable object keeps a list of genres for you and can automatically determine the id3v1 genre from an id3v2 string or the other way around
标签: and features creates updates
上传时间: 2014-11-21
上传用户:qq521
MD5算法目前最简单的效率最高的VB加密模块,直接调用“MD5(String)”即可
上传时间: 2014-01-11
上传用户:gxmm
用Java编写一个程序实现学员成绩管理,每个学员包括3门课的成绩,从键盘输入学员信息(最多输入20个,但最少并不知道),包括学号(String)姓名(String)三门课成绩(用整形数组来存)大家可以下在学习一下
上传时间: 2016-10-05
上传用户:dancnc
CppReference 对于c/c++的详尽说明 C/C++ Reference General C/C++ Pre-processor commands Operator Precedence Escape Sequences ASCII Chart Data Types Keywords Standard C Library Standard C I/O Standard C String & Character Standard C Math Standard C Time & Date Standard C Memory Other standard C functions All C Functions C++ C++ I/O C++ Strings C++ String Streams Miscellaneous C++ C++ Standard Template Library C++ Algorithms C++ Vectors C++ Double-Ended Queues C++ Lists C++ Priority Queues C++ Queues C++ Stacks C++ Sets C++ Multisets C++ Maps C++ Multimaps C++ Bitsets Iterators All C++ Functions
标签: Pre-processor CppReference Reference Operator
上传时间: 2016-10-26
上传用户:aeiouetla
编写漏洞扫描器探查远程服务器上可能存在的具有安全隐患的文件是否存在,它的socket建立过程和上面 的端口扫描器是相同的,所不同的是漏洞扫描器通常使用80端口,然后对这个端口发送一个GET文件的请求,服务器接收到请求会返回文件内容,如果文件不存 在则返回一个错误提示,通过接收返回内容可以判断文件是否存在。发送和接收数据需要使用函数send()和recv(),另外对流中存在的字符串进行判断 需要使用函数strstr(),这除了需要具备socket函数库的知识以外,还需要一些有关string函数库的知识。
上传时间: 2013-12-08
上传用户:
基于N进制的多精度问题 本代码可以处理N进制的多精度四则运算。 输入格式: 全是正数,string(或int)格式,请参见函数原型!开头不要有多余的零!
上传时间: 2016-11-15
上传用户:钓鳌牧马
“软件限时注册”控件(TShareRegist)功能说明: 1、只要将该控件加入主窗体,使Action属性设为true,再设置其它属性,你的软件就有限时注册的功能了,只要你牢记三个密钥,并加上给你的算号软件(RegObject_Admin.exe)你就可以无敌天下了。 2、控件使用目前最严严谨的加密算法,5级加密。是破解成为不可能,可以放心使用。 3、请记住,设计不同的软件,给三个不同的密钥,该控件可以让你享用终生。 控件属性说明: Action:boolean 是否开启限时注册功能 ShareDays:integer 免费使用的天数 ShareCount:integer 免费使用的次数 RootKey:string 注册表的主根 EncrypKey1:string 密钥1 EncrypKey2:string 密钥2 EncrypKey3:string 密钥3 Money:string 注册费用 ActiveMenuItem:TMenuItem 激活注册窗口的菜单项(点击此菜单项便能弹出“注册窗体”) ActiveButton:TButton 激活注册窗口的按钮(同上) Verion:string 控件版本号,只读的
标签: TShareRegist 控件 软件
上传时间: 2013-12-25
上传用户:fredguo
pstmt = conn.prepareStatement("select ordernumber,datetime,price,dayofmoney from zujie where ordernumber= "+ cdName + " ") rs=pstmt.executeQuery() if(rs!=null && rs.next()){ String datetime = rs.getString(2) java.text.SimpleDateFormat formatter = new java.text.SimpleDateFormat ("yyyy-MM-dd") Date date = new Date() String date1=formatter.format(date) ParsePosition pos = new ParsePosition(0) ParsePosition pos1 = new ParsePosition(0) Date dt1=formatter.parse(datetime,pos) Date dt2=formatter.parse(date1,pos1) Long l = (dt2.getTime()-dt1.getTime())/(3600*24*1000)+1 double price = rs.getDouble(3) double dayofmoney=rs.getDouble(4) double dayofmoneybuy=dayofmoney*l double otherMoney = price-dayofmoneybuy request.setAttribute("price", price) request.setAttribute("l", l) request.setAttribute("dayofmoney", dayofmoneybuy) request.setAttribute("otherMoney", otherMoney)
标签: prepareStatement ordernumber dayofmoney datetime
上传时间: 2013-12-14
上传用户:zsjinju
The DHRY program performs the dhrystone benchmarks on the 8051. Dhrystone is a general-performance benchmark test originally developed by Reinhold Weicker in 1984. This benchmark is used to measure and compare the performance of different computers or, in this case, the efficiency of the code generated for the same computer by different compilers. The test reports general performance in dhrystones per second. Like most benchmark programs, dhrystone consists of standard code and concentrates on string handling. It uses no floating-point operations. It is heavily influenced by hardware and software design, compiler and linker options, code optimizing, cache memory, wait states, and integer data types. The DHRY program is available in different targets: Simulator: Large Model: DHRY example in LARGE model for Simulation Philips 80C51MX: DHRY example in LARGE model for the Philips 80C51MC
标签: general-performanc benchmarks Dhrystone dhrystone
上传时间: 2016-11-30
上传用户:hphh