|
[分享]安全程序设计基础资料(申请邀请码)
关于支付虚拟币获取“安全程序设计基础”资料的声明: 我对论坛的管理缺乏详细的了解,也不知道怎么获得交换的虚拟币。只知道“临时会员”下载附件1次需要支付2Kx虚拟币、其中附件的提供者可以收益1Kx虚拟币。我原来的想法是提供这个资料作为附件下载,顺便卖点虚拟币以购买邀请码。 现决定自己攒钱,购买邀请码。待升级为正式会员后,在适当的时间再将该资料分享给大家。需要资料的朋友,可以直接跟帖,留下联系方式。谢谢! |
|
|
|
几道C语言的题目,求教
好的编码习惯和风格是很重要的,楼主发布的求助代码,可否注意代码的格式 可读性差,影响心情的。 下面分别给出答案: 第1题的答案: The output of 5.1. is: i=6 j=720 第2题代码错误,有三处错误:第一处是函数trans中()的调用语句trans(m/n, /)中第二个参数错误;第二处和第三处错误分别是函数main()中的两个printf()语句中的参数错误。 第3题,creat函数的功能是从键盘输入数据(以零作为截止符号),创建一个链表,该链表的数据的特点是:后面的数值不小于前面的值、且这些数值都是大于0的正数。 依次输入数据:11 36 16 5000 626 0(截止符号) The output of 4.3 is: 11 36 36 5000 5000 第4题,实现的功能是从循环地键盘连续输入两个整数,通过连续相加来实现这两个整数的乘积;直到两个整数的成绩为0退出循环。分别输入数据5 9、-55 21、-3 200和110 0,结果如下: 5 9 The result is:45 -55 21 The result is:-1155 -3 -200 The result is:600 110 0 程序结束运行,正常退出。 第5题的结果如下: The output of 5.5 is: 1207654300 6702154300 以第5题为例,正确的代码格式可参照下述代码: #include <stdio.h> int a[10]={1,2,3,4,5,6,7}; void rev (int *m, int n) { int t; if(n>1) { t=*m; *m = *(m+n-1); *(m+n-1) = t; rev(m+1, n-2); } } void main(void) { int i; printf("\nThe output of 5.5 is:\n\n"); rev(a+2, 6); for(i=0; i<10; i++) printf("%d", a[i]); printf("\n"); rev(a, 5); for(i=0; i<10; i++) printf("%d", a[i]); printf("\n"); } |
|
[公告]转为正式会员的方法
等待晋级会员 |
|
[求助]请给个激请码谢谢
权限都没有,发表帖子受限 |
|
[讨论]《程序员密码学》中的libtomcrypto算法库是那个版本
我是英文原版与中译版对照看的,英文原版也存在错误 |
|
[讨论]《程序员密码学》中的libtomcrypto算法库是那个版本
我已经看完了《程序员密码学》的第一章和第二章,已经发现了不少错误。寻此书的读者相互交流 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值