|
|
|
[求助]界面控件库
最初由 b23526 发布 其实MFC更方便,因为VC本身对MFC做了大量GUI和自动生成代码框架上的支持. WTL好像微软是不积极支持的,而且系统也不自带其动态库. |
|
[求助]界面控件库
最初由 littlepotato 发布 新手抱怨MFC难用很正常,不过MFC能支持一部分的所见即所得功能(其实主要靠VC的资源编辑器)已经不错了. |
|
[求助]界面控件库
MFC不好么?正好能与VC配合.符合楼主的"易用,功能还可以"的要求. |
|
[推荐]ufmod-1.21-win32
XM制作很复杂,好像只有MIDI能直接转换成XM,不过体积增大不少,还不如直接播放MIDI. |
|
|
|
[ZT]010 Editor v2.1.1+v2.1.3 by Sweetscape Software
如果启动速度快一些,这个软件就perfect了. |
|
|
|
Visual Studio 2005 Service Pack 1 Update for Windows Vista
提我干吗? 我现在既用不起Visual Studio 2005,也用不起Windows Vista. 机器再快也经不住微软.NET的折磨... |
|
[下载]微软2003 server NTOS源代码下载,可以编译通过。
可惜其中一些关键的函数以静态库方式提供的. |
|
[转帖]对抗杀毒软件的内存扫描
好的杀软都会在ring0层直接读进程内存. |
|
64K 3D动画的实现原理[求助]
第一视角射击游戏应该是那个96KB的吧,我也玩过. 其实看起来特殊形状的物体也是靠技巧用少量数据生成的. 模型都是一些基本形状(方形,球形,四面体等)用sin,cos等函数变换一下顶点坐标就能把模型复杂化,运气好就能得到像样的模型. 纹理也用简单的p=f(x,y)函数算出来每个像素的颜色值.不同纹理直接再融合一下就能变出很复杂的纹理.音频采样也是同样道理. 几个函数的代码量当然比几幅纹理的数据量少得多. |
|
[原创]计算素数
最初由 jjnet 发布 嗯,严格地说应该清0. 我贴的那个程序原来是我用来和java语言比较速度的,因为java是肯定在new时清0的,所以C++版本为了和java代码保持一致就没有清0,但实际运行得到的空间总是清过0的,原因不明.转过来的时候忘了这个问题了. BTW,java2(1.42)运行的时间仅比C++版的慢1/4左右,看来java在小范围密集运算这方面还是有点优势的. |
|
[原创]无聊,发个 elf 压缩壳。
UPX跨平台能力非常强.楼主不妨参考一下. |
|
[原创]计算素数
切记:算法是最重要的. 下面是我的精确计算1000万以内的素数的算法,看看速度如何. #include <stdio.h> int searchprime(int num,int *out) { int pn=0; bool *mask=new bool[num+1]; for(int i=2;i<=num;i++) if(!mask[i]) { out[pn++]=i; if(i<32767) for(int j=i*i;j<=num;j+=i) mask[j]=true; } delete []mask; return pn; } void main() { int *out=new int[664579]; printf("搜索1 ~ 10000000......"); int num=searchprime(10000000,out); printf("找到%d个素数,最后一个素数是%d.\n",num,out[num-1]); delete []out; } P4 2.5GHz: 100万以内0.1s,1000万以内1.25s. |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值