登录
首页 » C++ Builder » stringToHex

stringToHex

于 2011-07-23 发布 文件大小:3KB
0 225
下载积分: 1 下载次数: 68

代码说明:

  任意字符串转换为16进制数,内容简短,谢谢(string to hex)

文件列表:

字符串转16进制数(2位字符一走,问题是没有考虑字符串是单数的情况).txt,850,2011-04-17
字符串转16进制数(使用memeset和sscanf函数).txt,332,2011-04-17
字符串转16进制数(自动分辨格式的,可以使用普通的十进制, 十六进制(以 0x 开头或形如ff 01 03 a0...),位数不限,但缓冲区要够装下返回的值.txt,4342,2011-04-17

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • cpp
    首先通过文件操作,读取文件内容,把字符逐个提取后统计字符频率,建立哈夫曼树和进行哈夫曼编码,当然这是根据ASCII编码来将字符转换为二进制,然后实现前缀编码,然后把编码后的使用二进制流写入相应文件(First through file operations, read the file content, the characters one by one after extracting character frequency statistics, establish a Huffman tree and Huffman encoding, and, of course, this is according to ASCII code to convert characters to the binary, then realize the prefix encoding, and then the encoded using binary stream into the corresponding files )
    2013-12-01 14:18:04下载
    积分:1
  • 761779
    一个关于SNMP编程的实例,用VC++实现,不错的源码(A about SNMP programming examples, using vc + + realize, good source)
    2017-06-19 22:34:31下载
    积分:1
  • ReadXls
    读取excel文件的源代码,自己开发,功能详细!(read excel file source code!)
    2012-04-11 12:47:30下载
    积分:1
  • date
    开始显示速度很慢,要达到5~6秒。开始显示速度很慢,要达到5~6秒。开始显示速度很慢,要达到5~6秒。(Began to show very slow to reach 5 to 6 seconds.Began to show very slow to reach 5 to 6 seconds.Began to show very slow to reach 5 to 6 seconds.)
    2013-12-12 14:23:28下载
    积分:1
  • Read_Dxf2
    说明:  能够对dxf文件进行读取,而且是源代码哦(can read the .dxf file)
    2010-04-16 21:01:13下载
    积分:1
  • mdump
    一个生成dump文件的封装类,可以在程序异常退出时将最后的出错信息保存成dump文件,以便于调试。(A dump file generated wrapper class, you can program to quit unexpectedly when the last error information is saved into a dump file for debugging.)
    2016-05-02 13:19:05下载
    积分:1
  • SelDEL
    实现在程序运行完毕后,删除自身exe文件.适用于需要时间限制类程序.(Time limit for applications that require such procedures in the program is complete, delete the exe file.)
    2013-05-19 10:22:03下载
    积分:1
  • GetDir
    能够很好的获取文件的路径信息源码。 根据路径能够遍历路径下的文件。 适合学习用。(Can be a good source to get the file path information. According to traverse the path of the file path. Suitable for learning.)
    2013-12-23 10:16:23下载
    积分:1
  • changyong
    功能实用功能实用的常用文件的常用文件功能实用的常用文件(no yes)
    2013-04-22 22:06:45下载
    积分:1
  • add_head
    给二进制地震数据加卷头和道头信息,使之成为sgy文件,(add trace information to seismic data)
    2012-08-11 22:07:57下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载