出错内容:configure: error: Don't know how to define struct flock on this system, set --enable-opcache=no
常见解决办法:
编辑/etc/ld.so.conf
根据系统,加入文件/etc/ld.so.conf,然后执行ldconfig,使其重新加载一次;
有时候,如果自己的libm...
分类:
Web程序 时间:
2015-05-08 22:11:57
阅读次数:
185
??
gcc简介
1、 gcc是GNU Compiler Collection的缩写。最初是作为C语言的编译器(GNU C Compiler),作者为Richard Stallman,是GNU项目的奠基者;现在已经支持多种语言,如C、C++、Java、Pascal、Ada、COBOL语言等 。
2、主要特征:
gcc是一个可移植的编译器,支持多种硬件平台,甚至对Don Knuth ...
分类:
其他好文 时间:
2015-05-07 14:37:57
阅读次数:
139
方案1:进入到虚拟机设计界面,点击高级选项,将CD/DVD(SATA)设置为IDE(0:0)就ok了如图所示:设置完成后,进入系统启动界面点ESC,直接安装系统就ok了。方案2:百度经验http://jingyan.baidu.com/article/358570f67834b9ce4624fc49.html上提出的从BIOS中修改的方法,鉴于..
分类:
其他好文 时间:
2015-05-06 15:20:42
阅读次数:
144
学习ASP .NET MVC5官方教程总结(十)添加验证
在本章中,我们将为Movie模型添加验证逻辑,并确认验证规则在用户试图使用程序创建和编辑电影时有效。
ASP.NET MVC 的一个核心原则是DRY(Don't Repeat Yourself - 不做重复的事情)。ASP.NET MVC 鼓励你一次性的指定功能或行为,然后应用程序的其它地方通过映射得到它,这...
分类:
Web程序 时间:
2015-05-04 18:03:13
阅读次数:
259
Constants differ from normal variables in that you don't use the$symbol to declare or use them.showConstant();echo $class::constant."\n"; // 自 PHP 5.3...
分类:
其他好文 时间:
2015-05-04 15:22:48
阅读次数:
122
利用泛型减少重复,实现简易AOP一、设计原则之DRY,不要重复自己 在所有设计原则中,DRP(Don't Repeat Yourself)是最基础的原则之一。是由 Andy Hunt 和 Dave Thomas 在 The Pragmatic Programmer 中总结出来的,成为软件开发和设计的...
分类:
其他好文 时间:
2015-05-04 13:34:16
阅读次数:
172
查找
命令:docker search [OPTIONS] TERM
相关参数:
Search the Docker Hub for images
--automated=false Only show automated builds
--no-trunc=false Don't truncate output
-s, --stars=0 On...
分类:
其他好文 时间:
2015-05-02 22:06:17
阅读次数:
419
Rest Parameters:In ES5, when you don't know how many paramters will be passed in, you can use arguments:let sum = function(){ let result = 0; fo...
分类:
其他好文 时间:
2015-05-01 19:50:49
阅读次数:
157
wcount.cc 1 #include 2 #include 3 #include 4 #include 5 #include 6 // So we don't have to type "std::" everywhere... 7 using namespace std...
分类:
其他好文 时间:
2015-05-01 11:56:11
阅读次数:
104
because you dont have permission to view it解决办法Project---Build Setting中 修改这一项,变成Default Compiler(Apple LLVM 6.0)图片展示:
分类:
其他好文 时间:
2015-05-01 10:40:18
阅读次数:
154