|
[招聘]搜狐畅游高薪诚聘移动安全研发工程师
没想到畅游现在状况不太好啊!HR姐姐OR美眉貌似暴露太多信息了!不太好! 另外,小弟看了帖子之后,感觉畅游对技术人才不是很重视!呵呵!其实,薪水没那么重要,能拿到20K的在哪都能拿,按现在的物价,也不是特别高的薪水啊,对热爱技术的人来说,是否有认同感其实最重要的。。。在帖子里争论薪水什么的,对立起来了,不太讨技术人才的欢心哈,尤其那帮只会技术,对公司忠心耿耿的类型更在乎公司的氛围。 忠言逆耳,技术人才要哄。不要介意。呵呵!对公司老板,张朝阳先生很崇拜!我相信他能力挽狂澜!! |
|
[原创]MrleeProtect游戏保护
对楼主用心的代码和用心的视频感动,很朴实的声音!“听测”LZ是帅哥。。。 |
|
[分享]SDTrestore Version 0.2 学习注释存档
sudami~~~```排版很好!呵呵! |
|
[求助] 构思---连连看游戏的外挂。。
既然你找不到二维矩阵怎么知道程序可能运行太慢呢?那个算法很简单的```我帖上来啊``` 至于那个二维矩阵,其实就是一个一维字节数组```地址就不贴了```免得``` // // 判断方块 A 与方块 B 是否可连通 // // blocks 为方块一维字节数组首地址 // bool Linkable( const BYTE *blocks, int blockARow, int blockACol, int blockBRow, int blockBCol ) { int i, j; // // 首先水平扫描 // int minACol, minBCol, maxACol, maxBCol, minCol, maxCol; // 确定扫描的左边界 for ( minACol = blockACol; minACol >= 0; minACol-- ) if ( ( blocks[ blockARow * MAP_COLS + minACol ] != 0 ) && ( minACol != blockACol ) ) break; minACol++; if ( minACol < blockBCol ) { for ( minBCol = blockBCol; minBCol >= minACol; minBCol-- ) if ( ( blocks[ blockBRow * MAP_COLS + minBCol ] != 0 ) && ( minBCol != blockBCol ) ) break; minBCol++; minCol = minBCol; } else minCol = minACol; // 确定扫描的右边界 for ( maxACol = blockACol; maxACol < MAP_COLS; maxACol++ ) if ( ( blocks[ blockARow * MAP_COLS + maxACol ] != 0 ) && ( maxACol != blockACol ) ) break; maxACol--; if ( maxACol > blockBCol ) { for ( maxBCol = blockBCol; maxBCol <= maxACol; maxBCol++ ) if ( ( blocks[ blockBRow * MAP_COLS + maxBCol ] != 0 ) && ( maxBCol != blockBCol ) ) break; maxBCol--; maxCol = maxBCol; } else maxCol = maxACol; // 判断在公共边界范围内是否存在可直接连通的列 for ( i = minCol; i <= maxCol; i++ ) { if ( ( blockARow - blockBRow <= 1 ) && ( blockARow - blockBRow >= -1 ) ) { // 如果 blockA 与 blockB 为同一行或相邻行,则可直接连通 return true; } else if ( blockARow < blockBRow ) { // blockA 在 blockB 上边 for ( j = blockARow + 1; j < blockBRow; j++ ) if ( blocks[ j * MAP_COLS + i ] != 0 ) break; if ( j == blockBRow ) return true; } else { // blockB 在 blockA 上边 for ( j = blockBRow + 1; j < blockARow; j++ ) if ( blocks[ j * MAP_COLS + i ] != 0 ) break; if ( j == blockARow ) return true; } } // // 然后垂直扫描 // int minARow, minBRow, maxARow, maxBRow, minRow, maxRow; // 确定扫描的上边界 for ( minARow = blockARow; minARow >= 0; minARow-- ) if ( ( blocks[ minARow * MAP_COLS + blockACol ] != 0 ) && ( minARow != blockARow ) ) break; minARow++; if ( minARow < blockBRow ) { for ( minBRow = blockBRow; minBRow >= minARow; minBRow-- ) if ( ( blocks[ minBRow * MAP_COLS + blockBCol ] != 0 ) && ( minBRow != blockBRow ) ) break; minBRow++; minRow = minBRow; } else minRow = minARow; // 确定扫描的下边界 for ( maxARow = blockARow; maxARow < MAP_ROWS; maxARow++ ) if ( ( blocks[ maxARow * MAP_COLS + blockACol ] != 0 ) && ( maxARow != blockARow ) ) break; maxARow--; if ( maxARow > blockBRow ) { for ( maxBRow = blockBRow; maxBRow <= maxARow; maxBRow++ ) if ( ( blocks[ maxBRow * MAP_COLS + blockBCol ] != 0 ) && ( maxBRow != blockBRow ) ) break; maxBRow--; maxRow = maxBRow; } else maxRow = maxARow; // 判断在公共边界范围内是否存在可直接连通的行 for ( i = minRow; i <= maxRow; i++ ) { if ( ( blockACol - blockBCol <= 1 ) && ( blockACol - blockBCol >= -1 ) ) { // 如果 blockA 与 blockB 为同一列或相邻列,则可直接连通 return true; } else if ( blockACol < blockBCol ) { // blockA 在 blockB 左边 for ( j = blockACol + 1; j < blockBCol; j++ ) if ( blocks[ i * MAP_COLS + j ] != 0 ) break; if ( j == blockBCol ) return true; } else { // blockB 在 blockA 左边 for ( j = blockBCol + 1; j < blockACol; j++ ) if ( blocks[ i * MAP_COLS + j ] != 0 ) break; if ( j == blockACol ) return true; } } return false; } // // 补充一下 // 上面函数中的确定扫描左右边界、上下边界是为了减少判断次数优化,由此多出来的代码是函数看起来很复杂,其实整个函数的思路很简单的,去掉优化部分的代码就很简单了。不要怕啊```觉得有用就仔细看看,不难的。呵呵 |
|
[求助] 构思---连连看游戏的外挂。。
这个我写过一个```还不错吧```不过呢```不好公开呀```哈哈! 下手的方式嘛```你不是已经说了吗,就你说的那三步啊``` 一步一步完成就OK了``` 有什么问题具体点呀 |
|
|
|
[讨论]一DLL注入进程源码
谢谢分享!如果可读性再好点就是绝对的好文章! |
|
[原创]PEDIY祝大家新年进步
2008, 大家加油!快乐每一天! |
|
[原创]新版虫虫汇编器
下一个看看```然后去吃饭``` ============================== 刚才下好了看了下,运行需要MSVCP71.dll 另外想说的一句话是,你太牛了!本来还以为是个IDE,没想到是个编译器``` 呵呵! |
|
[求助]如何提取调用ml.exe 和link.exe程序所产生的编译链接信息?
你在做IDE吗?支持``` |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值