This structure defines the interface between the low-level tty driver and the tty routines. The following routines can be defined unless noted otherwise, they are optional, and can be filled in with a Null pointer.
标签: the structure interface low-level
上传时间: 2015-05-29
上传用户:yyyyyyyyyy
* Function: * 1. Replace the first oldstr with newstr in srcstr * Arguments: * IN : * srcstr * oldstr * newstr * OUT : * srcstr * Return: * 1. If find and replace one oldstr with newstr in srcstr , return 1 * 2. If find no oldstr in srcstr , return 0 * 3. If error (malloc return Null) return -1 * Notes: * 1. srcstr should be large size enough.
标签: Arguments Function Replace oldstr
上传时间: 2014-12-20
上传用户:Yukiseop
This Program Is Designed To Simulate A Spatial Antenna Array System Working On The MUSIC Algorithm For The Angle Of Arrival Estimation And Null Steering Algorithm For The Weights Estimation To The Required Output Radiation Pattern .
标签: Designed Algorith Simulate Program
上传时间: 2014-01-02
上传用户:三人用菜
//打开 USB 口读写, 由驱动程序的 Pipe 名确定 HANDLE hPipe = OpenMyDevPipe("MyPipe1") //驱动程序里面的 Pipe 名, 对应访问某个端点的 I/O, 这里我乱写的, 需要与驱动一致 if(hPipe != INVALID_HANDLE_VALUE) //打开 Pipe 成功 { ReadFile(hPipe, Buffer, BufSize, &nBytesRead, Null) //从 hPipe 里读取数据到 Buffer 里 //WriteFile(hPipe, Buffer, BytesToWrite, &nBytesWritten, Null) //把 Buffer 里面的 BytesToWrite 字节写入 hPipe CloseHandle(hPipe) } //使用 DeviceIoControl 访问 USB 设备 HANDLE hDevice = OpenMyDevice() if(hDevice != INVALID_HANDLE_VALUE) //打开设备成功 { //这些 DeviceIoControl 功能都是由设备定义的, 具体看设备和驱动的资料 if(DeviceIoControl(hDevice, IOCTL_READ_xxxx, &IOBlock, sizeof(IOBLOCK), &c, 1, &nBytes, Null)) { //成功 } CloseHandle(hDevice) }
标签: Pipe OpenMyDevPipe MyPipe1 HANDLE
上传时间: 2014-11-25
上传用户:stampede
This sample demonstrates how to take pictures and videos using the CameraCaptureDialog managed API. If a default filename is used: - if a still picture is taken, the ".jpg" extension is appended to the default filename. (Otherwise the CameraCaptureDialog would throw an InvalidArgumentException). - if a video is recorded, Null is passed to the CameraCaptureDialog as the default filename. The filename returned is then renamed to match the user entered filename while keeping the extension returned.
标签: CameraCaptureDialog demonstrates pictures managed
上传时间: 2013-12-15
上传用户:kikye
本程序中得到的收端OFDM信号的频谱波形,是与其发端信号的排步有关的。在发端的 % 载波安排上,128个载波有前后各32个载波是Null载波(如果这前后各32各载波是带外频段, % 那么理论上它们都应该是零!),中间的64个载波是数据载波。这样的排步很明显就是一个 % 两边低,中间高的频谱形式。所以,收端也应该是这个轮廓。
上传时间: 2015-11-02
上传用户:372825274
这是本人做数据库课程设计时的仓促之作,自我感觉实际应用价值并不大,但可以给学VC和数据库编程的朋友做个范例。在做之前也参看了不少同类型的管理系统,收获不小,现将这个学生管理系统贴出来,希望能对有需要的朋友有所帮助。系统不足之处肯定不少,还请高手多多指教,欢迎跟本人联系。 本人在系统中添加了直接通过SQL语句对后台的表进行修改的功能,颇有争议,还请有实际开发经验的朋友指教。 本人正忙于考研,没时间写一个完整的程序说明,敬请谅解。如有问题,也可与本人联系。 QQ:332723187 EMAIL:wythust@163.com 当前系统用户和密码:(可改) 管理员级: administer 126 (Access加密密码也为126) 普通用户级: customer 123 teacher ttt 匿名用户级: anonymous (Null)
上传时间: 2013-12-27
上传用户:thesk123
SharpZipLib之前叫做NZipLib,完全由 C# 开发的压缩库,支持Zip, GZip, Tar and BZip2 ,为2007年8月最新0852release版的源文件和文档说明! Changes for v0.85.2 release Minor tweaks for CF, ZipEntryFactory and ZipFile. Fix for zip testing and Zip64 local header patching. FastZip revamped to handle file attributes on extract + other fixes Null ref in path filter fixed. Extra data handling fixes Revamped build and conditional compilation handling Many bug fixes for Zip64. Minor improvements to C# samples. ZIP-1341 Non ascii zip password handling fix. ZIP-355 Fix for zip compression problem at low levels
标签: SharpZipLib NZipLib
上传时间: 2015-12-11
上传用户:84425894
SharpZipLib之前叫做NZipLib,完全由 C# 开发的压缩库,支持Zip, GZip, Tar and BZip2 ,为2007年8月最新0852release版的代码实例! Changes for v0.85.2 release Minor tweaks for CF, ZipEntryFactory and ZipFile. Fix for zip testing and Zip64 local header patching. FastZip revamped to handle file attributes on extract + other fixes Null ref in path filter fixed. Extra data handling fixes Revamped build and conditional compilation handling Many bug fixes for Zip64. Minor improvements to C# samples. ZIP-1341 Non ascii zip password handling fix. ZIP-355 Fix for zip compression problem at low levels
标签: SharpZipLib NZipLib
上传时间: 2015-12-11
上传用户:love_stanford
#include<iostream> using namespace std int main() { unsigned long x,warcraft,war,l cin> x while(x) { unsigned long *p=new unsigned long[x+1] if(p==Null) { cerr<<"error!"<<endl abort() } for(warcraft=0 warcraft<=x warcraft++) *(p+warcraft)=0 *p=1 for(warcraft=0 warcraft<x warcraft++) { cout<<*p<<" " war=*p for(l=1 x>1 l++) { if(*(p+l)==0) { cout<<endl *(p+l)=1 break } else { cout<<*(p+l)<<" " *(p+l)=war+*(p+l) war=*(p+l)-war } } } cout<<endl delete [] p cin>>x } return 0 }
标签: namespace iostream unsigned warcraft
上传时间: 2015-12-12
上传用户:manlian