|
|
|
关于数据传输速度的问题
TCP里的QOS参数也是带宽限制的一个原因,但我想楼主应该不会笨到在测试的时候还开着迅雷吧…… |
|
关于数据传输速度的问题
这问题挺有趣,也很难回答,因为限制带宽的因素太多了。 楼上是个正解,ADSL的上传速度只有512K(哪怕你下载有4兆),如果你是ADSL,那多半就是这问题了。 因外的可能是QOS,可能是你本机,也可能是对端,只要有一个环节对QOS作了限制,速度就会上不去。 可以试试同时开两个线程上传,看看速度有没有提升 或者换个网络环境试试 |
|
Win32是如何将数据显示在显示器上呢?
这部分工作是交给显卡驱动的,不同的驱动会有不同的做法,N卡和A卡的机制也不同,没有标准答案 |
|
|
|
本人想考研究生,有没有反汇编和破解的研究方向?
破解技术,属于旁门左道,是象牙塔里那些道德的卫道士们所不齿的,至少,我没听说过正规的高等院校里有这样的专业方向 |
|
用小程序或者函数实现简单算法
算法已知的话,如果对算法的精髓不太了解,可以写个小程序用穷举法,不停的修改这一部分中某些不重要的部分,试图吻合HASH值 如果了解算法漏洞,可以通过计算精确拟合出你需要的HASH值,比如说MD5撞车程序 |
|
Win32是如何将数据显示在显示器上呢?
抛开gdi这样的抽象概念,从底层来说,操作系统是怎么样进行这样一个过程呢? 操作系统管不了这么底层的事,最多管到点阵,然后交给显卡驱动,显卡驱动操作显卡,编辑显存 这个机制很复杂,不用多管,也管不了。 在DOS下,哪怕是简单地在屏幕上显示一个字母,对应的底层代码就要几十页。 |
|
Win32是如何将数据显示在显示器上呢?
个人觉得是利大于弊 就拿楼主所说的DOS下的直接写屏来说吧,0XB8000H是有条件的,如果你是彩色显卡,并工作在25行X80列的显示模式下,才是0XB8000H这个地址,而VGA支持的显示模式,远不止这一种,那程序员必须了解每一种模式下的写屏起始地址,如果用户的显卡是黑白的,又是另一个地址了。 以上说的还只是文字模式,在图形模式下,大家的显卡、分辨率千差万别,让程序员了解这些?杀了他吧! 所谓术业有专攻,这是技术进步后必然的结果,让了解硬件的人写驱动,程序员只要知道API函数就够了。 |
|
Win32是如何将数据显示在显示器上呢?
0XB8000H,呵呵,竟然还有人记得直接写屏技术…… 在windows下是不能这么做的,因为所有的内存都处于保护状态,中断向量表、显示内存等在DOS时代随便玩的东西,在Windows下你都是摸不到的。 这样的好处很明显,硬件无关性。开发软件的人不必再关心用户显卡的牌子或支持哪些分辨率(在DOS时代搞图形界面的话这些都是要知道的),GUI和DirectX已经帮你包办掉了一切,你所要做的,只是对API函数操作就行了。 |
|
自动俄罗斯方块问题求助
楼主跑了,哎…… |
|
自动俄罗斯方块问题求助
判断新生方块放哪?呵呵 ,简易的人工智能,其实大家回忆下,当年8位机上的俄罗斯方块都具备这种智能了,何况是现在? 我建议用加权比较: 首先,每个方块有1-4种体位(对这个词请不要想太多),正方形1种,长条2种,L形4种…… 其次,在每个体位下从左到右有X-W+1种摆放可能(X为游戏区域宽度,W为新生方块宽度) 然后,对每种可能计算吻合度,吻合度越高,计分越高;如能消除,则权重更高 最后,选择加权值最高的一种可能进行操作。 这里要注意的是:俄罗斯方块是存在一种特殊现像的,就是在下降途中按左右嵌进墙里,对这个算法是个挑战,当然写简单人工智能的话可以不考虑这种情况。 |
|
|
|
ubuntu 下的程序提示exit()问题~~
DOS下编程也可以用exit函数,必须include stdlib.h |
|
|
|
|
|
[讨论]逃课学习汇编和c语言
首先提醒你,C和C++是完全不同理念的两种语言,虽然语法近似,但切勿混为一谈 说到入门的时间,听课的话,C++20课时,汇编40课时(因为要涉及微机原理),还不包括预习做习题的时间,这样才算入门 接下来才算正式修行,就像WOW一样,满级了游戏才刚开始,后面是无尽的副本…… |
|
[讨论]召唤永远的临时会员
每天随便看看,随手答几个疑,一星期就初级会员了,这太简单了,至于这样么? |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值