|
[原创]用逻辑嗅探破解接触式IC卡口令
真心佩服楼主 有对公交卡的想法 但是基于技术没有研究 |
|
[分享]一张诡异的美女图片..胆小的别进
冯正冬冯正冬 |
|
[分享]一张诡异的美女图片..胆小的别进
曼珠沙华曼珠沙华 |
|
[分享]6种变态的c语言写的Hello, World
真心碉堡了 一段代码就可以完成的事 搞的这么复杂 佩服! |
|
[原创]对伪书、劣书不应再沉默[之第二檄]
说是一回事,做又是一回事 |
|
C程序设计语言发现的一个问题 求解答
嗯 多谢了 ctrl + z 我才知道 |
|
C程序设计语言发现的一个问题 求解答
谢谢 楼上两位的帮忙 万分感谢 经过我测试是这样的 代码
输出的结果为: 可以看出 回车符 也会被计算在内 也就是认为 没有结束 而在执行一次getchar(); 故 外面的printf 就不会被执行 而换成'\n' 就能遇到回车后跳出while 循环 而EOF 会认为回车后面才是结束标志 |
|
C程序设计语言发现的一个问题 求解答
嗯 是的 我运行 回车后是可以继续输入的 没有输出个数 我用的win7+VC++6.0 然后我发现这样是可以运行的 int main(void) { long nc=0; while(getchar() != '\n') ++nc; printf("%ld\n",nc); return 0; } 难道getchar() 在回车后 并没有认为程序 结束? |
|
C程序设计语言发现的一个问题 求解答
嗯 但是 从第二个程序可以看出了EOF 也是可以结束 为什么第一个就无法结束呢? 难道书上是错的? |
|
C程序设计语言发现的一个问题 求解答
[QUOTE=LShang;1082390]唔 第一个程序貌似只获取了一次输入吧 把 c = getchar(); 放到while循环体里应该就可以了 唔,应该是在while循环体里添加这条语句合适一些~[/QUOTE] 哦 我放里面以后 是可以结束 但是我这样写 #include <stdio.h> int main(void) { int c; long nc=0; while(c != EOF) { c=getchar(); nc++; } printf("%ld\n",nc); return 0; } 把printf 拿到外面就无法输出nc 的值呢? |
|
[调查]来看雪的大多数是技术精英,不知道大家一个月的收入是多少?
哎 蛋疼 我一个学.net的 现在搞Android 开发 才2.5K 坑爹啊~ |
|
[原创]破解多重验证及解除功能限制的详细全过程,图文并茂
不错 很适合我们这些新手观看 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值