|
[推荐]当WINRAR拥有指纹识别功能……
于是开始有人窃听Key了。。。 |
|
[求助]程序问题求解
没有main函数。。。。 |
|
|
|
|
|
[求助]加壳工具都带毒
免费加壳都被病毒利用过,所以,杀毒软件,都对免费壳敏感。。。 |
|
[求助][求助]C语言取字符串问题 --ddk
看来,你是想把字符型的16进制,转换成数值型的了? 楼上的方法可以。 补充一个更通用的: char *pcStr="AB"; int iab; sscanf(pcstr, "%x", &iab); printf("%x", pcstr); |
|
[求助][求助]C语言取字符串问题 --ddk
使用CString,必须要包含Afx.h而标准C++中是没有这个东西的,倒是有一个string类。。。 再看MSDN中关于CString 的说明: Visual C++ supplies several ways to work with character-string data. These include MFC’s CString class, functions in the run-time library, and Win32 API functions. 另外 MFC早就该淘汰了,这个不好说。。。现在用的还非常多。主要是开始学的时候太绕了些。。。 |
|
[求助][求助]C语言取字符串问题 --ddk
[QUOTE=哒达哒达;1110111]如果我要把这4个得到的赋值给test1[4]这个数组呢? 如test1[0]=0xAB,test1[1]=0xCD...... 该怎么表示呢?[/QUOTE] test1是什么类型的数组呢? 看你的描述,似乎是想把,字符型的值,传给数值型的? 再细一点吧。 |
|
|
|
[求助][求助]C语言取字符串问题 --ddk
ddk是什么,我还真不知道。。。。求教。 |
|
[求助][求助]C语言取字符串问题 --ddk
CString 是C++,而且是MFC独有的。。。 |
|
[求助][求助]C语言取字符串问题 --ddk
#include<stdio.h> #include<string.h> int main() { char pcStr[]="ABCDEFGH"; int i; char pcStr1[3], pcStr2[3], pcStr3[3], pcStr4[3]; i=0; memcpy(pcStr1, &pcStr[i], 2); pcStr1[2]=0; i+=2; memcpy(pcStr2, &pcStr[i], 2); pcStr2[2]=0; i+=2; memcpy(pcStr3, &pcStr[i], 2); pcStr3[2]=0; i+=2; memcpy(pcStr4, &pcStr[i], 2); pcStr4[2]=0; i+=2; printf("%s\n%s\n%s\n%s\n", pcStr1, pcStr2, pcStr3, pcStr4); return 0; } |
|
|
|
[讨论]文件的高压缩率是怎么做到的?
原来是这样,感觉是BUG。。。 |
|
[讨论]文件的高压缩率是怎么做到的?
有损压缩不能用来压缩系统映像文件吧?还原不回去了。。。 |
|
[讨论]文件的高压缩率是怎么做到的?
如果源文件是文本文件,wav,BMP,文件越大,压缩率越高。 因为很多信息是重复的。可压缩很多。 如果你的源文件只有1个字节,用压缩后文件不但不会变小,还会变大,呵呵。 我所了解的压缩算法只有一种。 一种是哈夫曼,另一种是LZ(了解不多) 哈夫曼是基于统计的,先统计出文件中,各种值的单字节(双字节,四字节)出现的频率,然后建立哈夫曼树,将出现频率最高的采用最短的编码,来表示。出现频率最低的用最长的编码来表示。 LZ是重用,一段字节串,重复的次数越多,则压缩率越高,不同于哈夫曼的定长统计。LZ的统计是不定长的。(理解不知对不对) |
|
[原创]VC学习时发现的一个有趣的东西。
是的,也可以进入控制面板-》显示 设置屏幕分辨率设定好。 |
|
|
|
|
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值