问题:运行gsl(GNU scientific Library)的函数库,用gcc erf.c -I/usr/local/include -L/usr/local/lib64 -L/usr/local/lib -g -Wall --std=gnu99 -lgsl -lgslcblas -o m.o编...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 22:54:54   
                                阅读次数:
591
                             
                    
                        
                            
                            
                                虽然 [Display(Name="XXX")]已经能在页面中@Html.LabelFor(m=m.属性)中显示其值,但是不够灵活,特别是在@Html.EtitorForModel()或@Html.DisplayForModel()时,我们想要根据自己的要求来显示信息,那么我们就要根据情况实现步骤....
                            
                            
                                分类:
Web程序   时间:
2014-07-19 20:00:27   
                                阅读次数:
300
                             
                    
                        
                            
                            
                                Two elements of a binary search tree (BST) are swapped by mistake.
Recover the tree without changing its structure.
Note:
A solution using O(n)
 space is pretty straight forward. Could you devis...
                            
                            
                                分类:
其他好文   时间:
2014-07-18 22:33:04   
                                阅读次数:
328
                             
                    
                        
                            
                            
                                root@xdj-Z9PA-D8-Series:~# free -m
             total       used       free     shared    buffers     cached
Mem:         15977       1683      14293          0        132        549
-/+ buffers/cache...
                            
                            
                                分类:
其他好文   时间:
2014-07-18 22:29:30   
                                阅读次数:
215
                             
                    
                        
                            
                            
                                /*
C - 简单dp 例题
Time Limit:1000MS     Memory Limit:10000KB     64bit IO Format:%I64d & %I64u
Submit
 
Status
Description
A subsequence of a given sequence is the given sequence with some elements (poss...
                            
                            
                                分类:
其他好文   时间:
2014-07-18 22:28:24   
                                阅读次数:
206
                             
                    
                        
                            
                            
                                Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A solution using O(n) space is ...
                            
                            
                                分类:
其他好文   时间:
2014-07-17 17:32:50   
                                阅读次数:
246
                             
                    
                        
                            
                            
                                1.sphinx全文检索引擎,有分tar.gz包安装和rpm包安装2.目前本人用的是rpm包进行安装,经过一番折腾,终于安装成功。3.安装rpm时遇到的问题:如图解决方式:下载依赖包。历时三个步骤下载安装.前两个需要下载,第三个直接安装rpm-ivhMySQL-shared-compat-5.1.47-1.rhel5.x86_64...
                            
                            
                                分类:
系统相关   时间:
2014-07-17 16:01:26   
                                阅读次数:
357
                             
                    
                        
                            
                            
                                执行到./configure--enable-shared一步时提示:checkinghostsystemtype...Invalidconfiguration`x86_64-unknown-linux-gnu‘:machine`x86_64-unknown‘notrecognized解决办法:cp/usr/share/libtool/config.guess.(覆盖到相关软件自带的config.guess,t1lib在解压包的ac-tools下)cp..
                            
                            
                                分类:
系统相关   时间:
2014-07-17 15:12:10   
                                阅读次数:
260
                             
                    
                        
                            
                            
                                弱表(weak table)是一个很有意思的东西,像C++/Java等语言是没有的。弱表的定义是:A weak table is a table whose elements are weak references,元素为弱引用的表就叫弱表。有弱引用那么也就有强引用,有引用那么也就有非引用。我们.....
                            
                            
                                分类:
其他好文   时间:
2014-07-17 14:10:51   
                                阅读次数:
231
                             
                    
                        
                            
                            
                                动态存储类
StrVec Class Design
StrVec Class Definition
class StrVec
{
public:
    //构造函数
    StrVec():elements(nullptr), first_free(nullptr), cap(nullptr){}
    //用initializer_list初始化参数列表
    StrVe...
                            
                            
                                分类:
其他好文   时间:
2014-07-17 10:22:21   
                                阅读次数:
286