Methods void close() int read() reads and returns a chracter. int read(char[] characterArray) populates an array of characters with data. boolean ready() - returns “true” if there is data available. ……
标签: read characterArray int chracter
上传时间: 2013-12-18
上传用户:小儒尼尼奥
• Symbian OS basics, Memory Management, Descriptors, Application Structure, Client-Server, Active Object, Application UI Viewer, Screen Saver, File Handling, Simple 2D,3D games, Simple Banner, Scalable UI, Location Finder GPS, HTTP client API, End-End Socket HTTP API,DBMS, Messaging Application.
标签: Client-Server Descriptors Application Management
上传时间: 2013-12-01
上传用户:zhangyigenius
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
This toolbox was designed as a teaching aid, which matlab is particularly good for since source code is relatively legible and simple to modify. However, it is still reasonably fast if used with the supplied optimiser. However, if you really want to speed things up you should consider compiling the matrix composition routine for H into a mex function. Then again if you really want to speed things up you probably shouldn t be using matlab anyway... Get hold of a dedicated C program once you understand the algorithm.
标签: particularly designed teaching toolbox
上传时间: 2016-11-25
上传用户:hustfanenze
This book is designed to teach you the best practices in developing Windows DNA applications. We have avoided making this book a primer on every technology associated with Windows DNA. If we had followed this course, this would be an encyclopedia set. Everyone has their favorite authors and books on the various technical subject areas. The market is full of books to teach you the basics, the how, this book tries to be different in that we pull out the important points to teach you about the why. If you need training in a particular technology covered in this book, Sams has a number of 24-hour and 21-day books that cover a wide range of topics.
标签: applications developing practices designed
上传时间: 2016-11-27
上传用户:yyq123456789
This document contains official rules of the 3D soccer simulation competition at RoboCup 2006. While we will try to cover all cases, if unexpected events do occur, the rule committee will seek input from the participants and then make a decision. However, once the committee has made a decision, that decision is final and will not be open to further discussion
标签: competition simulation document contains
上传时间: 2016-11-30
上传用户:zhengzg
A passive optical network (PON) is a point-to-multipoint, fiber to the premises network architecture in which unpowered optical splitters are used to enable a single optical fiber to serve multiple premises, typically 32-128. A PON consists of an Optical Line Termination (OLT) at the service provider s central office and a number of Optical Network Units (ONUs) near end users. A PON configuration reduces the amount of fiber and central office equipment required compared with point to point architectures
标签: network point-to-multipoint architecture premises
上传时间: 2016-12-10
上传用户:王庆才
unsigned char WriteInData(unsigned char Address,unsigned char DataByte) { unsigned char mark WREN() Write_Byte(0x02) Write_Byte(Address) Write_Byte(DataByte) //NOP() X25_cs=1 lag(3000) mark=Read_Byte(Address) if(DataByte==mark) SystemError=0 if(mark!=DataByte) SystemError=1 // return(SystemError) } //虽然是一读一写,但是其中暗藏杀机,让人很难调通。一定注意接口的位置!呵呵!不信你就按普通的SPI程序方法写写试试!
标签: unsigned char WriteInData DataByte
上传时间: 2016-12-14
上传用户:invtnewer
简易文本编辑器。在出现的界面中输入任意文本内容,利用DEL键、BACKSPACE键、HOME键、END键、上下左右光标键对文本进行全屏幕编辑,按f1键激活菜单file,下移光标,选择save,输入文件名。也可以选择FILE菜单的其他菜单项,他们的功能均可实现。按f10激活帮助,按ESC键退出帮助。
上传时间: 2014-01-16
上传用户:gonuiln
zlibyou can found an optimized version of Zlib 1.1.4 that you can embed into every Delphi executable without use external dlls. Further I have build a little example hoping to aid "young" Delphi programmers getting in trouble with streams... Please let me know if you ll discover errors. These objects and sources are targeted for executing into P6+ CPU core, and Delphi5-6-7-x software. Benchmarks show this zlib 40% average faster than native DLL distribution and 100% reliable.
标签: executable can optimized zlibyou
上传时间: 2016-12-19
上传用户:lili123