gem安装pg遇到问题
安装pg遇到问题
#gem install pg
报错信息为:
Building native extensions. This could take a while...
ERROR: Error installing pg:
ERROR: Failed to build gem native extension.
...
分类:
其他好文 时间:
2014-09-16 10:51:40
阅读次数:
226
#include using namespace std;class Building{ int Floors,Rooms; double Total_area;public: Building( int f,int r,double t) { Floors=f; Roo...
分类:
其他好文 时间:
2014-09-14 15:11:57
阅读次数:
154
一篇看到的讲解得不错的文章 http://blog.csdn.net/clskkk2222/article/details/6735365这里还有一些例子:Rake DocumentationRails Rake TutorialUsing the Rake Building Language===...
分类:
其他好文 时间:
2014-09-10 23:40:21
阅读次数:
401
One of the first challenges developers new to JavaScript who are building large applications will have to face is how to go about organizing their cod...
分类:
编程语言 时间:
2014-09-10 00:16:59
阅读次数:
288
使用 Android 的人越来越多,每天都在增加。因此,当你想把你的应用成功地全球化时,通常的方法就是使应用程序本地化。 虽然本地化,你可以考虑使用依靠区域和国家适当的文字,音频,货币,数字和图形。但是,本文只涉及本地化的字符串,例如支持多国语言(multiple languages)。Locali...
分类:
移动开发 时间:
2014-09-09 15:15:49
阅读次数:
338
提到构建WebService服务,大家肯定第一个想到的是使用WCF,因为简单快捷嘛。首先要说明的是,本人对WCF不太了解,但是想快速建立一个WebService,于是看到了MSDN上的这一篇文章 Building Cross-Platform Web Services with ServiceSta...
分类:
Web程序 时间:
2014-09-09 12:05:08
阅读次数:
275
In computer science, functional programming is a programming paradigm, a style of building the structure and elements of computer programs, that treat...
分类:
其他好文 时间:
2014-09-09 11:07:08
阅读次数:
225
在MyEclipse的使用中,在建立新文件或者改动代码后,经常会出现building workspace半天卡顿不动的情况,如果开的程序过多,经常会发生失去响应,电脑要是再烂点,直接死机的情况也常有发生。如何解决这个问题,网上方法众说纷纭,这里只记录自己解决了的一个方法。 1.选择菜单栏里的p...
分类:
系统相关 时间:
2014-09-07 22:25:25
阅读次数:
2527
这一节,我们从Asmack基于的协议核心出发,XMPP协议,来学习。弄懂XMPP对学习Asmack源码有着重要的原因,做到知其然知其所以然。
本文主要是学习《XMPP The Definitive Guide Building Real-Time Applications with Jabber Technologies》文总结而来。
1,您能够拿XMPP来做什么?
XMPP(Ext...
分类:
其他好文 时间:
2014-09-05 11:24:51
阅读次数:
203
题目地址:UVa 1605
一道答案特判的题。最简单的方法是只构造两层,第一层中第i行全是i国家,第二层中第i列全是i国家。这样就保证了所有的国家都会相邻。
代码如下:
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
u...
分类:
其他好文 时间:
2014-09-03 19:53:17
阅读次数:
247