-
繁体字和简体字是汉字中经常使用的两种汉字表现形式,在计算机中它们的内码稽核分别称为BIG5和GB码。平时经常会遇到这两种编码需要相互抓换的情况,因此掌握汉字内码...
繁体字和简体字是汉字中经常使用的两种汉字表现形式,在计算机中它们的内码稽核分别称为BIG5和GB码。平时经常会遇到这两种编码需要相互抓换的情况,因此掌握汉字内码对于软件开发人员非常重要。本例实现了汉字内码转换。-traditional and simplified Chinese characters are frequently used Chinese characters of the two forms, the computer code within their respective audit called BIG5 and GB yards. Usually encountered both need each other coding for grasping the situation, master CICS code for software developers is very important. The realization of the cases CICS code conversion.
- 2022-01-25 16:58:16下载
- 积分:1
-
二进制文件的读、写、修改
文件操作的对象是:Operator.sys
二进制文件的读、写、修改
文件操作的对象是:Operator.sys-Binary file read, write, modify the file operations is targeted at: Operator.sys
- 2022-04-28 06:34:06下载
- 积分:1
-
本程序函数可以读取任意ini配置文件内容
本程序函数可以读取任意ini配置文件内容-This procedure can read arbitrary function ini configuration file contents
- 2022-06-27 22:34:36下载
- 积分:1
-
文件操作课程设计报告,有程序源代码,绝对正确
文件操作课程设计报告,有程序源代码,绝对正确-files operate coure design,have code ,it is correct.
- 2022-03-31 02:09:43下载
- 积分:1
-
一个用vc开发的小程序,创建文件,采用面向对象的设计思想,还是不错的...
一个用vc开发的小程序,创建文件,采用面向对象的设计思想,还是不错的-A small development with vc procedures, create a file using object-oriented design idea, or good
- 2022-07-10 08:44:33下载
- 积分:1
-
socialist economy under the conditions of the administrative and moral construct...
社会主义经济条件下的行政道德建设社会主义经济条件下的行政道德建设社会主义经济条件下的行政道德建设
- 2022-10-01 01:15:03下载
- 积分:1
-
xml的解析,是用C编写的,目前应用很广,还附带了详细的例子...
xml的解析,是用C编写的,目前应用很广,还附带了详细的例子-xml analytic, is to use C prepared, at present a very wide application, but also comes with detailed examples
- 2022-07-24 00:10:42下载
- 积分:1
-
程序来完成这个小的主要功能是实现传统的圣..
这个小程序主要完成的功能是实现传统风格和windows 2000风格文件的打开,比较一下,你会发现2000风格打开的文件界面操作会更加简单方便!-Procedures to complete this small main function is to realize the traditional style and windows 2000 style file open, compare, you will find 2000 to open a document style interface operation will be more simple and convenient!
- 2022-02-25 10:35:42下载
- 积分:1
-
原始数据划分为train.dat和test.dat
应用背景开始是做movielense的数据,可以把原始数据任意划分为train.dat和test.dat,主要是为了做验证实验。非常简单明了,适合初学者看看,如果不喜欢,请轻喷。关键技术# -*- coding: cp936 -*-
from sklearn import cross_validation
c = []
filename = r"Raw.data" #原始数据
out_train = open(r"train.txt","w") #训练集
out_test = open(r"test.txt","w") #测试集
for line in open(filename):
items = line.strip().split(",")
c.append(items)
c_train,c_test = cross_validation.train_test_split(c,test_size=0.1)#size =你需要的比例
for i in c_train:
out_train.write(",".join(i)+"
")
for i in c_test:
out_test.write(",".join(i)+"
")
- 2022-01-25 21:21:56下载
- 积分:1
-
MASM
这是一个读写磁盘文件的例子,其中“infile”为读文件,“wfile”为写文件。-masm
- 2023-08-07 03:20:03下载
- 积分:1