|
[求助]一简单C语言代码麻烦大侠解释下
C语言里面有种叫做逗号表达式的东西,它的值是最右边一项的值(即最后一个逗号右边的表达式的值) for(y=1;y<10;) y = ((x=3*y,x+1),x-1); 第一次循环开始y=1,x=未知值 本次循环之后x=3*y=3,y=x-1=2 y=2<10,第二次循环开始y=2,x=3 本次循环之后x=3*y=6,y=x-1=5 y=5<10,第三次循环开始y=5,x=6 本次循环之后x=3*y=15,y=x-1=14 y=14不再<10,循环结束,此时x和y的值分别为15,14. 不知道你看的什么书,平时强烈不建议如此写程序,估计也没人会这样写程序,可读性极低并且毫无意义。 |
|
[求助]如何获取已知ID的进程的主线程ID?(谁来编译一下8楼,谢谢啊)
满足这个条件的线程只能说属于目标进程(这里CreateToolhelp32Snapshot的第二个参数应该填目标进程PID而不是0),你也许会说,根据这个快照扫出来的线程还有不属于这个进程的吗?跟踪一下就知道,最近我也研究过获取主线程ID的方法 下面这个方法应该是正确的 用GetThreadTimes函数获取指定线程的时间信息,然后根据上面提供的思路实现。 |
|
[招聘]第九城市招聘(资深)安全开发工程师
照LS来看,MIT也不如何呀,都博士毕业了,还问这种问题 |
|
卖身拉~!不买的也进来看看拉
乍一看我还以为是猪头三的站呢,终于看到楼主的pp了 |
|
[求助]想找份在家里干的工作,有需要的联系我
“许三多”会不会告他侵犯肖像权? |
|
[讨论]您写代码的效率几何?
术业有专攻,每天都能超越自己就很好了。 |
|
[求助]VC程序如何调用masm编译器?
落伍了啊兄弟,10都出来好久了 |
|
[求助]关于网维的驱动防火墙
客户端验证被突破之后,你就完全控制它了,驱动程序中没有再验证。 |
|
[原创]找一份C++应用程序开发的工作
祝早日找到好工作 |
|
|
|
[求助][求助]问一个吐血的问题,菜鸟,刚接触w32dasm不会编辑里面的东西
win32dasm貌似没有编辑功能 你可以记住需要修改的地方,然后转换为实际偏移地址,再用WinHex来修改 简单一点就是直接用OD吧,方便多了 现在的问题就得自己去分析了,不必气馁,持之以恒,总会成功的! 很久没用过那东西了,所以不知道= =,如果有这个功能的话,查看帮助文档如何使用 |
|
[求助]还有救吗?7科有5科不及格,总分347分,91人班里排名第六
我高中理科综合考过40分 但我并不感到沮丧,因为我对这些东西毫无兴趣,再早一点,理化生进行单科考试的时候,物理试卷发下来,10个选择题直接选B,二卷直接装到口袋里,睡觉等待交卷。 我有自己感兴趣的东西,并且一直在为之努力。 上高三的时候因为一个非常好的班主任让我改变了一下,稍微学了点,上了一个本科第三批。 真正可悲的是那种以很高的分数考入了一所一流大学,然而自己快要大学毕业的时候仍然不知道自己真正喜欢的是什么,自己的理想是什么的人。 |
|
|
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值