
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
c++ builder的一些控件包装好了,直接使用,真的很便利。以下是我实现的用来接收http请求的.1)启动IdHTTPServer服务void __fastcall Tfrm_login::FormCreate(TObject *Sender){ IdHTTPServer1->Active=true;}2)在IdHTTPServer1CommandGet事件里面添
这阵子,网站出现了中文乱码的问题。在网页上设置了"utf-8"或"gb2313",还是出现这问题.折磨了一天,竟然是这样解决掉的。1)以记事本的打开网页文件,2)然后另存为3)选择编码为utf-84)覆盖掉原来的网页文件即可。
1)程序一运行就Radio按钮就被选择中,只需在OnInitDialog()添加如下代码 CButton* tb=(CButton*)GetDlgItem(IDC_RADIO1); tb->SetCheck(1);代表IDC_RADIO1被选中。 2)获取R
1)编译应用程序make -f makefile_5_2 cleanmake -f makefile_5_2 2)关于共享目录在linux虚拟机的/mnt/hgfs下可看到该文件夹 3)cd命令,进入文件夹cd /mnt/hgfs/ 4)复制cp命令cp -ri A/B/* A1/B1/ 提示是否覆盖\cp -rf A/B/* A1/B
Python 文件的读写操作:#!/usr/bin/python#Filename:using_file.pypoem='python'f=file('C:\\poem.txt','w') # open for 'w'riting.It will create new filef.write(poem)#write text to filef.close()#close the
#!/usr/bin/python#Filename:pickling.pyimport cPickle as p#import pickle as pshoplistfile='shoplist.data'#the name of the file where we will store the objshoplist=['apple','mango','carrot']#
目前正在学Python网络编程基础,发觉Python是一个不错的脚步,Python写的服务器代码区区20行左右,如果是C或者C++写的话,远不止这个数了。#!usr/bin/pythonimport sockethost=''port=51423s=socket.socket (socket.AF_INET ,socket.SOCK_STREAM)s.setsockopt(so







