Laravel PHP web framework requires certain libraries to function properly. One of these libraries is the mcrypt and the php-mcrypt (bridge between mcr...
分类:
Web程序 时间:
2014-11-12 07:08:40
阅读次数:
307
最早的ports管理就是BSD那种,后来出现强大的Debian,弄了个dpkg+apt!Mac OS X 最早使用比较多的工具是 MacPorts,但是现在来看这个工具有点老,不是很稳定,那我们推荐你安装 brew。安装brew的命令如下:sudo sucurl -L http://github.c...
分类:
系统相关 时间:
2014-11-12 07:09:30
阅读次数:
234
//进程通信,消息的发送和接收//client.c#include #include #include #include #include #include #include #include #include #include #include #include #include #include...
分类:
系统相关 时间:
2014-11-12 07:07:58
阅读次数:
184
因为随着百度地图的api的升级,测距的函数以及语句都发生的一定变化。 在调用api测距的时候通常我们使用的是语句map.getDistance(marker1,marker2); 但为什么这么简单的测距语句会显示NaN呢,也就是你的有一个点并不是所谓的坐标点。这个苦恼了我很久,因为百度知道上关...
1.背景 写博客快两年了,写了100+的文章,最火的文章也是大家最关注的就是如何实现android系统截屏。其实我们google android_screen_shot就会找到很对办法,但那些都是很多年前的了,在android4.*版本后,android对于源码进行了更正,使得以前的方...
分类:
移动开发 时间:
2014-11-12 07:08:26
阅读次数:
230
实现:char *strcpy(char *strDestination,const char *strSource){assert(strDestination!=NULL && strSource!=NULL);char *strD=strDestination;while ((*strDest...
分类:
其他好文 时间:
2014-11-12 07:06:47
阅读次数:
177
char* strchr(char*s,charc){while(*s!='\0'&&*s!=c){++s;}return*s==c?s:NULL;}// strchr.c查找字符串s中首次出现字符c的位置#include#includechar* my_strchr(const char *s1,...
分类:
其他好文 时间:
2014-11-12 07:07:15
阅读次数:
234
#include #include #include int main(void){ time_t timer;//time_t就是long int 类型 struct tm *tblock; //time()获取当前的系统时间,返回的结果是一个time_t类型,其实就是一个大整数...
分类:
其他好文 时间:
2014-11-12 07:08:05
阅读次数:
171
本文转载 《高效程序员的45个习惯》一书 目录第1章 敏捷---高效软件开发之道第2章 态度决定一切1.做事2.欲速则不达3.对事不对人4.排除万难,奋勇前进第3章 学无止境5.跟踪变化6.对团队投资7.懂得丢弃8.打破沙锅问到底9.把握开发节奏第4章交付用户想要的软件10.让客户做决定11.让.....
分类:
其他好文 时间:
2014-11-12 07:08:15
阅读次数:
151
//进程通信,共享存储区#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #in...
分类:
其他好文 时间:
2014-11-12 07:08:05
阅读次数:
219
//将源字符串加const,表明其为输入参数char*strcat(char*strDest,constchar*strSrc){//后文returnaddress,故不能放在assert断言之后声明addresschar*address=strDest;assert((strDest!=NULL)...
分类:
其他好文 时间:
2014-11-12 07:06:33
阅读次数:
132
本文为形式化方法:VDM++系列2————介绍了VDM++开发环境的配置和基本使用
分类:
其他好文 时间:
2014-11-12 07:07:22
阅读次数:
159
#includechar *my_strncpy(char *dest,char *src,int n){ int i; for(i=0;i<n && src[i]!='\0';i++) dest[i] = src[i]; for(;i<n;i++) ...
分类:
其他好文 时间:
2014-11-12 07:07:50
阅读次数:
106
#include#includeint main(){char buf[512],sztime1[16],sztime2[16];sscanf("123456 ", "%s", buf);//此处buf是数组名,它的意思是将123456以%s的形式存入buf中!printf("%s\n", buf)...
分类:
其他好文 时间:
2014-11-12 07:07:29
阅读次数:
185
// strstr.c查找完全匹配的子字符串#include#includechar *my_strstr(const char *s1,const char *s2){ const char *p=s1; const int len=strlen(s2); for(;(p=str...
分类:
其他好文 时间:
2014-11-12 07:06:29
阅读次数:
126
#include #include #include #include #include #include #include #include #define portnumber 3333int main(int argc, char *argv[]) { int sock...
分类:
其他好文 时间:
2014-11-12 07:05:29
阅读次数:
915
PRB: Access Denied Error When You Make Code Modifications with Index Services RunningView products that this article applies to.Article ID:329065Last ...
分类:
数据库 时间:
2014-11-12 07:05:01
阅读次数:
326