上一页 1 ··· 75 76 77 78 79 80 81 82 83 ··· 93 下一页
摘要: freopen函数的使用:参见这篇博客https://www.cnblogs.com/moonlit/archive/2011/06/12/2078712.html freopen("debug\\in.txt","r",stdin)的作用就是把标准输入流stdin重定向到debug\\in.txt 阅读全文
posted @ 2019-09-03 09:02 Lucky小黄人^_^ 阅读(2867) 评论(0) 推荐(0)
摘要: cookie不支持中文,必须转码后存储,否则会乱码 jsp端访问cookie要解码 EL表达式获取cookie的值:${cookie.username.name}, ${cookie.username.value} 阅读全文
posted @ 2019-08-31 14:57 Lucky小黄人^_^ 阅读(1077) 评论(1) 推荐(1)
摘要: 具体配置参考这篇博客:https://www.cnblogs.com/alibaba-inc/p/9249135.html期间可能会碰到这样一个问题,“The server does not support ve... 阅读全文
posted @ 2019-08-10 20:09 Lucky小黄人^_^ 阅读(514) 评论(0) 推荐(0)
摘要: gets()和puts不安全,有些平台会报错,如pat. gets输入字符串时,不进行数组下标的检查,也就是说当你的数组长度是n时,输入超过该长度的字符串的时候,编译不会出错,但是运行的时候会出现数组越界或者内存泄漏的错误, 键盘输入fgets(buf,n,stdin); 输出:fputs(buf, 阅读全文
posted @ 2019-08-08 14:53 Lucky小黄人^_^ 阅读(346) 评论(0) 推荐(0)
摘要: 为什么html表单用post提交后,提交页面是空白? 因为post提交就应该用doPost()方法处理数据 阅读全文
posted @ 2019-08-07 21:08 Lucky小黄人^_^ 阅读(1055) 评论(0) 推荐(0)
摘要: 题目链接:https://pintia.cn/problem-sets/994805260223102976/problems/994805294251491328 1027 打印沙漏 (20 分) 题目链接:https://pintia.cn/problem-sets/99480526022310 阅读全文
posted @ 2019-08-04 10:56 Lucky小黄人^_^ 阅读(188) 评论(0) 推荐(0)
摘要: 使用的Tomcat是免安装版本的。因为在启动tomcat是需要读取环境变量和配置信息,缺少了这些信息,就不能登记环境变量,导致了tomcat的闪退。解决办法:1:在已解压的tomcat的bin文件夹下找到star... 阅读全文
posted @ 2019-08-03 19:04 Lucky小黄人^_^ 阅读(356) 评论(0) 推荐(0)
摘要: 在命令行输入: show global variables like 'port'; 转自:https://blog.csdn.net/zhufengy/article/details/80147787 ... 阅读全文
posted @ 2019-08-01 10:20 Lucky小黄人^_^ 阅读(1366) 评论(0) 推荐(0)
摘要: 题目:https://pintia.cn/problem-sets/994805260223102976/problems/994805314941992960 1009 说反话 (20 分) 题目:https://pintia.cn/problem-sets/994805260223102976/ 阅读全文
posted @ 2019-07-27 17:34 Lucky小黄人^_^ 阅读(156) 评论(0) 推荐(0)
摘要: 题目:https://pintia.cn/problem-sets/994805260223102976/problems/994805299301433344 1022 D进制的A+B (20 分) 题目:https://pintia.cn/problem-sets/994805260223102 阅读全文
posted @ 2019-07-27 16:40 Lucky小黄人^_^ 阅读(342) 评论(0) 推荐(0)
上一页 1 ··· 75 76 77 78 79 80 81 82 83 ··· 93 下一页