码迷,mamicode.com
首页 >  
搜索关键字:read    ( 19693个结果
【Delphi7】 解决“程序第一次可以正常编译,但再次编译的时候会报错,必须重新打开Delphi”的问题
报错如下:Access violation at address 00495044 in module 'coreide70.bpl'. Read of address。。。Access violation at address 0082A534 in module 'vcl70.bpl'. Wri...
分类:其他好文   时间:2014-08-27 18:05:58    阅读次数:304
win9x_win2k下对物理磁盘的操作
void CReadSectorDlg::OnReadButton() { UpdateData (TRUE) ; CFile m_Sector_file ; char * buffer ; if ( m_FileName_str == "")  { MessageBox ("Please enter a file to which the read sector contents are...
分类:Windows程序   时间:2014-08-27 11:02:27    阅读次数:279
cookie
GLOBAL.namespace('Cookie');GLOBAL.Cookie = { //读取 read : function(name) { var cookieStr = '; ' + document.cookie + '; '; var index...
分类:其他好文   时间:2014-08-27 00:13:06    阅读次数:216
Linux下简单管道测试
read.c#include #include #include #include #include #include #define W "/tmp/myfifo"int main(){ if(mkfifo(W, O_CREAT | O_EXCL) #include #include...
分类:系统相关   时间:2014-08-26 21:10:26    阅读次数:274
VC:使用Windows Socket开发应用程序
基于TCP(面向连接)的Socket编程一、客户端:1、打开一个套接字(Socket);2、发起连接请求(connect);3、如果连接成功,则进行数据交换(read、write、send、recv);4、数据交换完成,关闭连接(shutdown、close);二、服务器端:1、打开一个套接字(So...
分类:Windows程序   时间:2014-08-26 21:05:16    阅读次数:342
python 将unix文件转成dos文件
#!/usr/bin/python#-*-encoding:UTF-8-*-importsysiflen(sys.argv)<2:print(‘Usage:pythonsys.argv[0]FileName‘)sys.exit(1)else:print(‘\nunix2dos.pyexecutionsuccessfully!\n‘)File=sys.argv[1]fileobj=open(File,‘rU‘)try:allfile=fileobj.read()finally:fileobj.close()
分类:编程语言   时间:2014-08-26 19:53:57    阅读次数:305
使用PDFLib生成PDF文档教程
一、PDF介绍PDF是Portable Document Format的缩写,PDF文件格式是国际通用的电子文档交换事实标准,被许多国家采用作为电子文档交换。PDF文件可以在各种平台下阅读、编辑、发布。该文件格式支持字体、图像、甚至任何附件的嵌入。您可以通过免费的Adobe Acrobat Read...
分类:其他好文   时间:2014-08-26 19:12:16    阅读次数:259
IOS的后台运行
写在前面给大家推荐一个不错的网站  www.joblai.com http://www.cocoachina.com/bbs/read.php?tid=149564 文一   我从苹果文档中得知,一般的应用在进入后台的时候可以获取一定时间来运行相关任务,也就是说可以在后台运行一小段时间。   还有三种类型的可以运行在后以,   1.音乐   2.location   ...
分类:移动开发   时间:2014-08-26 15:27:36    阅读次数:332
《C++primer》v5 第8章 IO库 读书笔记 习题答案
8.1、8.2这一章不咋会啊。。istream &read(istream &is){ int a; auto old_state=is.rdstate(); is.clear(); is>>a; is.setstate(old_state); return is...
分类:编程语言   时间:2014-08-26 15:20:56    阅读次数:207
python3 抓取网页资源的 N 种方法
1、最简单import urllib.requestresponse = urllib.request.urlopen('http://python.org/')html = response.read() 2、使用 Requestimport urllib.request req = urllib...
分类:编程语言   时间:2014-08-26 14:58:56    阅读次数:348
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!