首页 > 2017年10月18日 > 全部分享
WPF中TextBox控件的使用总结
1:设置右边自动滑动条:VerticalScrollBarVisibility="Auto" 2:设置自动换行:TextWrapping="Wrap" AcceptsReturn="True" 3:C#程序控制文本滚动至底部:DebugBoxText.ScrollToEnd(); ...
分类:Windows开发   时间:2017-10-18 09:29:58    收藏:0  评论:0  赞:0  阅读:582
lintcode378- Convert Binary Search Tree to Doubly Linked Lis- medium
Convert a binary search tree to doubly linked list with in-order traversal. Example Given a binary search tree: 4 / \ 2 5 / \ 1 3 return 1<->2<->3<->4 ...
分类:其他   时间:2017-10-18 09:29:24    收藏:0  评论:0  赞:0  阅读:219
HDU1671 水题字典树
#include #include #include #include #include using namespace std; int T,trie[110010][10],n,cnt; int f[110010]; char c[12]; bool flag; void _insert() {... ...
分类:其他   时间:2017-10-18 09:29:10    收藏:0  评论:0  赞:0  阅读:216
152. Maximum Product Subarray
class Solution { public int maxProduct(int[] nums) { int res=nums[0]; for(int i=1, imax=res,imin=res;i<nums.length;i++) { int cmax=Math.max(nums[i]*im... ...
分类:其他   时间:2017-10-18 09:28:55    收藏:0  评论:0  赞:0  阅读:235
Spring+Redis的部署与Redis缓存使用示例
由于项目的业务需要,这两天折腾了一下Spring-redis配置,有了前面用Spring托管hibernate的经验,这次可以说是顺风顺水,大概说一下流程。 ubuntu 安装 redis 安装后在/etc/redis目录下可以找到redis.conf文件,直接搜索PASSWORD可以找到设置密码的 ...
分类:编程语言   时间:2017-10-18 09:28:43    收藏:0  评论:0  赞:0  阅读:241
PHP error_reporting() 函数
实例 规定不同的错误级别报告: ...
分类:Web开发   时间:2017-10-18 09:28:28    收藏:0  评论:0  赞:0  阅读:198
ATM错题集
json.loads 用于解码 JSON 数据。该函数返回 Python 字段的数据类型。 ...
分类:其他   时间:2017-10-18 09:28:15    收藏:0  评论:0  赞:0  阅读:235
FFT
1 HDU 1402 A * B Problem Plus 1 #include <iostream> 2 #include <cstdio> 3 #include <cstring> 4 #include <cstdlib> 5 #include <algorithm> 6 #include <q ...
分类:其他   时间:2017-10-18 09:27:51    收藏:0  评论:0  赞:0  阅读:218
shiro 身份验证
shiro身份验证: 参考链接:http://jinnianshilongnian.iteye.com/blog/2019547 即在应用中证明是本人进行操作,一般通过用户名来证明 在shiro中,用户通过提供principals(身份)和credentials(证明)给shiro,从而进行验证 p ...
分类:其他   时间:2017-10-18 09:27:37    收藏:0  评论:0  赞:0  阅读:200
C# 如何关联键盘按钮 (KeyChar/KeyCode值 KeyPress/KeyDown事件 区别)(转载)
1. 首先将窗口属性KeyPreview设为true,如果属性对话框中找不到,就直接在代码里添加;2. 添加KeyPress / KeyDown事件:KeyPress 和KeyDown 、KeyPress之间的区别: 1).KeyPress主要用来捕获数字(注意:包括Shift+数字的符号)、字母( ...
分类:Windows开发   时间:2017-10-18 09:27:24    收藏:0  评论:0  赞:0  阅读:307
用requests库和BeautifulSoup4库爬取新闻列表
习题1:选一个自己感兴趣的主题,做类似的操作,为“爬取网络数据并进行文本分析”做准备。 习题2:用requests库和BeautifulSoup4库,爬取校园新闻列表的时间、标题、链接、来源 ...
分类:其他   时间:2017-10-18 09:26:51    收藏:0  评论:0  赞:0  阅读:283
rem布局,在用户调整手机字体大小/用户调整浏览器字体大小后,布局错乱问题
一、用户调整浏览器字体大小,影响的是从浏览器打开的web页。 浏览器设置字体大小,影响浏览器打开的页面。通过js可控制用户修改字体大小,使页面不受影响。 二、用户修改手机字体设置大小,影响App里打开的web页面。 手机字体设置大小,影响App的页面。 Android的可以通过webview配置we ...
分类:移动平台   时间:2017-10-18 09:26:36    收藏:0  评论:0  赞:0  阅读:632
New Concept English three(17)
27W/m 65 Verrazano, an Italian about whom little is known, sailed into New York Harbour in 1524 and named it Angouleme. He described it as 'a very agr ...
分类:其他   时间:2017-10-18 09:26:21    收藏:0  评论:0  赞:0  阅读:336
4.7 C++ dynamic_cast操作符
参考:http://www.weixueyuan.net/view/6377.html 总结: 产生这种运行期的错误原因在于static_cast强制类型转换时并不具有保证类型安全的功能,而C++提供的dynamic_cast却能解决这一问题,dynamic_cast可以在程序运行时检测类型转换是否 ...
分类:编程语言   时间:2017-10-18 09:25:55    收藏:0  评论:0  赞:0  阅读:215
LeetCode Count Binary Substrings
原题链接在这里:https://leetcode.com/problems/count-binary-substrings/description/ 题目: Give a string s, count the number of non-empty (contiguous) substrings ...
分类:其他   时间:2017-10-18 09:25:41    收藏:0  评论:0  赞:0  阅读:378
pom.xml 识别xml文件
src/main/java **/*.xml true ...
分类:其他   时间:2017-10-18 09:25:24    收藏:0  评论:0  赞:0  阅读:195
JavaWeb笔记
JavaWeb笔记 一、servlet 真正helloServlet所在的位置 HelloServlet.java package net.zixue.servlet; import jdk.nashorn.internal.runtime.arrays.IteratorAction; import ...
分类:编程语言   时间:2017-10-18 09:25:11    收藏:0  评论:0  赞:0  阅读:304
内存溢出和内存泄漏的区别,产生原因以及解决方案
一、概念与区别 内存溢出 out of memory,是指程序在申请内存时,没有足够的内存空间供其使用,出现out of memory;比如申请 了一个integer,但给它存了long才能存下的数,那就是 内存溢出 内存泄露 memory leak,是指程序在申请内存后,无法释放已申请的内存空间, ...
分类:其他   时间:2017-10-18 09:25:01    收藏:0  评论:0  赞:0  阅读:235
C++参数传递
别名(引用):主要用于做函数的形式参数。 引用是复合类型,通过在变量前添加&符号来定义。不能定义引用类型的引用!!除了作为形参,定义引用时必须初始化!!如: ...
分类:编程语言   时间:2017-10-18 09:24:37    收藏:0  评论:0  赞:0  阅读:226
LeetCode Split Concatenated Strings
原题链接在这里:https://leetcode.com/problems/split-concatenated-strings/description/ 题目: Given a list of strings, you could concatenate these strings togethe ...
分类:其他   时间:2017-10-18 09:24:12    收藏:0  评论:0  赞:0  阅读:266
1179条   上一页 1 ... 50 51 52 53 54 ... 59 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!