2017年5月15日
摘要: Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared wi 阅读全文
posted @ 2017-05-15 21:10 ~du~ 阅读(255) 评论(0) 推荐(0) 编辑
  2017年5月14日
摘要: 1. int 类名::函数名() { srand((unsigned)time(NULL)); int num = rand()%5;//产生一个0~5的随机数. return num; } 用户和其他程序没有设定随机种子,则使用系统定时/计数器的值做为随机种子,所以,在相同的平台环境下,编译生成e 阅读全文
posted @ 2017-05-14 17:17 ~du~ 阅读(184) 评论(0) 推荐(0) 编辑
  2016年11月17日
摘要: package a123; import java.util.Scanner; public class a132 { public static void main(String args[]) { Scanner in = new Scanner(System.in); while (in.ha 阅读全文
posted @ 2016-11-17 20:22 ~du~ 阅读(3327) 评论(0) 推荐(0) 编辑