在用c++的getline函数的时候碰到两个问题,总结如下: 1.有时候写程序的时候我们会发现getline(cin,str);这样的语句是不会执行,而是直接跳过的, 一般的解决方法是getline一句之前加cin.ignore()或者一句cin.get();,或者重复geiline解释:认真...
分类:
编程语言 时间:
2015-03-02 14:37:43
阅读次数:
191
我们的PHP程序有时候需要定时执行,我们可以使用ignore_user_abort函数或是在页面放置js让用户帮我们实现。但这两种方法都不太可靠,不稳定。我们可以借助Linux的Crontab工具来稳定可靠地触发PHP执行任务下面介绍Crontab的两种方法。一、在Crontab中使用PHP执行脚本...
分类:
Web程序 时间:
2015-03-01 19:38:28
阅读次数:
183
对于untracked file, 可以使用.gitignore对于已经checked in file,可以使用git update-index #隐藏 git update-index --assume-unchanged xxxxxxxx #放开 git update-index --no-as...
分类:
其他好文 时间:
2015-02-28 16:17:10
阅读次数:
118
@NotFound(action=NotFoundAction.IGNORE)使用hibernate注解配置实体类的关联关系,在many-to-one,one-to-one关联中,一边引用自另一边的属性,如果属性值为某某的数据在数据库不存在了,hibernate默认会抛出异常。解决此问题,加上如下注...
分类:
其他好文 时间:
2015-02-28 16:13:33
阅读次数:
166
熟悉使用Git之后发现,使用sourceTree来管理和开发项目会变得更高效,现在我用bitbucket管理自己的项目,它提供了私有的仓库,用起来还是比较爽,不过刚开始用的时候,只要一打开本地仓库的工程,就会修改一个缓冲文件,然后在sourceTree很不智能的提示项目改动,无奈右键ignore文件...
分类:
其他好文 时间:
2015-02-28 16:09:26
阅读次数:
164
The 35 Kevin durant best kd relase in history and kd 7 bhm only $100It’s hard to ignore all the chatter going on regardingKevin Durant’sundecided alle...
分类:
其他好文 时间:
2015-02-26 16:36:58
阅读次数:
128
grep命令是类Unix系统中一种强大的文本搜索工具,全称是Global Regular Expression Print,表示全局正则表达式版本,它的使用权限是所有用户。命令格式为:grep [option] pattern file常用option有:-i --ignore-case ...
分类:
系统相关 时间:
2015-02-23 09:37:35
阅读次数:
174
ddns-update-style interim; //设置dhcp互动更新模式 ignore client-updates; //忽略客户端更新 #子网声明 subnet 192.168.12.0 netmask 255.255.255.0 { # --- default gateway opt...
分类:
其他好文 时间:
2015-02-20 22:00:51
阅读次数:
172
例1 ddns-update-style interim;
ignore client-updates; subnet 192.168.222.0 netmask 255.255.255.0 { # --- default gateway
option routers 192.168.222.1;
...
分类:
其他好文 时间:
2015-02-20 21:56:05
阅读次数:
176
录制Loadrunner脚本时,提示:Request Connection: Remote Server @ 192.229.145.200:80 NOT INTERCEPTED!(REASON: User requested to IGNORE connection);解决方法:1. 打开IE里....
分类:
其他好文 时间:
2015-02-11 16:03:30
阅读次数:
310