最近与同学交流c语言库函数的实现,发现自己所学的不能灵活运用,于是乎我就开启猛火力模式,先自己来实现下常见的库函数。strlen()函数说明返回指定字符串长度,不包括结束字符‘/0‘实现原型:intMyStrlen(constchar*str){intn;while(*str++!=‘\0‘)n++;returnn;}//以下函数为..
分类:
编程语言 时间:
2015-08-01 19:14:23
阅读次数:
153
1、输入
python 输入主要有input 和raw_input两个函数,这两者有什么区别呢?
运行一下代码name=input('please input somthing :')
print 'What you input is : '+name
ps:熟悉C++的同学都知道,在我们定义变量的时候需要在变量前定义其变量类型而在这里我们定义一个name变量,却没...
分类:
编程语言 时间:
2015-08-01 18:59:05
阅读次数:
125
如何运行从网上下载的iWatch项目详细步骤.
错误1: Fail to code sign "***" No valid signing identities (i.e. certificate and private key pair) matching the team ID "****" were found.
错误2: Unable to find a team with the given Team ID '****' to which you belong. Please contact Ap...
分类:
其他好文 时间:
2015-08-01 15:43:23
阅读次数:
324
my.cnf内容如下# For advice on how to change settings please see# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html[client]# passwo...
分类:
数据库 时间:
2015-08-01 15:42:26
阅读次数:
239
发起请求的页面地址 POST http://192.168.1.17/fast/file/upload HTTP/1.1 log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies). log4j:WARN Please initia...
分类:
Web程序 时间:
2015-07-31 20:31:46
阅读次数:
202
fedora安装后,yum命令不能使用,Cannot retrieve metalink for repository: fedora. Please verify its path and try again 解决方法
分类:
Web程序 时间:
2015-07-31 18:17:27
阅读次数:
493
今天在eclipse里报这个错误:Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead.Please fix project properties1.项目右键 ->android tools->Fix P...
分类:
移动开发 时间:
2015-07-31 12:09:31
阅读次数:
140
现在服务器上的系统时间是: [~]#date Thu Jul 30 11:44:01 CST 2015 现在硬件时间是: [~]#clock Thu 30 Jul 2015 11:44:22 AM CST? -0.031420 seconds 。 具体步骤是: [root@localhost ?~]# tzselect Please...
分类:
其他好文 时间:
2015-07-30 13:45:48
阅读次数:
188
Find --> CTags --> Rebuild TagsBuilding CTags for /home/zhuangyao/proj/valgrind/valgrind-3.10.1: Please be patienterror: ctags: no input files specifi...
分类:
其他好文 时间:
2015-07-30 02:00:39
阅读次数:
268
出现的问题:
[2015-07-29 16:47:08 - K_wechat] Installation error: INSTALL_FAILED_VERSION_DOWNGRADE
[2015-07-29 16:47:08 - K_wechat] Please check logcat output for more details.
[2015-07-29 16:47:09 - K_we...
分类:
移动开发 时间:
2015-07-29 17:14:06
阅读次数:
385