1.关于本文 文中描述的是一个学习List类过程中写的程序,程序中进行了以下步骤 1)创建list<string> 2)调用函数push_front和push_back添加元素 3)调用迭代器遍历list 4)调用函数front和back查找首尾结点 5)调...
分类:
编程语言 时间:
2014-07-22 09:03:06
阅读次数:
359
背景 在尝试把vim打造成Python IDE的时候walkthrough过这样一个帖子,在尝试到Basic Editing and Debugging部分的时候行不通了,放弃了。 问题 在terminal使用github每次push的时候都会弹出一个对话框让我填入pub...
分类:
其他好文 时间:
2014-07-22 08:34:37
阅读次数:
255
一开始比较慌,下意识里就想到用reset和push -f重置版本并强制推送到远程库,经过实验发现这样做只能保证自己的本地库和远程库回到之前一个版本,而其他人想通过git pull同步是无效的,远程库版本已经低于其他人的...
分类:
其他好文 时间:
2014-07-22 08:19:33
阅读次数:
188
使用github进行推送时经常会遇到这样的报错 说已经有此代码,不允许覆盖 通常此时,有两种解决方法: 1.强制推送,一般不推荐: $?git?push?-f 2.先pull到本地再推送 $?git?pull 然后将出现其他提示,具体意...
分类:
其他好文 时间:
2014-07-21 10:39:33
阅读次数:
396
最近在运行项目的时候,突然Xcode提示: XXX.app:?the?main?executable?or?Info.plist?must?be?a?regular?file?(no?symlinks,?etc.)
Command?/usr/bin/codesign?failed?with?exit?code?1 然后...
分类:
其他好文 时间:
2014-07-21 10:32:26
阅读次数:
242
Git在make的时候报错:Can‘t locate ExtUtils/MakeMaker.pm in @INC 解决方法如下: yum -y install perl-devel?perl-CPAN git 需要perl来编译。然后重新make Git Make时出现:tclsh failed; using unoptimized...
分类:
其他好文 时间:
2014-07-21 10:13:01
阅读次数:
375
Activity When you are creating a new instance of Activity via Intent, you can pass some extra data to the Activity. Data are stored in Bundle and can be retrieved by calling?getIntent().getExtras...
分类:
移动开发 时间:
2014-07-21 10:11:31
阅读次数:
272
配置Git Extension免密码发布代码到CSDN【本文默认大家安装了Git以及Git Extension】 今天花费了许多的时间处理这个问题,希望能给大家节约时间。闲话少说:使用ssh验证来push(上传)代码到code.csdn.net的优点在于避免每次都输入密码。步骤如下:1、使用git ...
分类:
其他好文 时间:
2014-07-21 00:31:14
阅读次数:
2001
Problem Description
Whuacmers use coins.They have coins of value A1,A2,A3...An Silverland dollar. One day Hibix opened purse and found there were some coins. He decided to buy a very nice watch in...
分类:
其他好文 时间:
2014-07-20 23:01:28
阅读次数:
271
Reverse digits of an integer.
Example1: x = 123, return 321
Example2: x = -123, return -321
click to show spoilers.
Have you thought about this?
Here are some good questions to ask before c...
分类:
编程语言 时间:
2014-07-20 22:12:03
阅读次数:
251