属性
说明
Nodes
获取分配给树视图控件的树节点集合
PathSeparator
获取或设置树节点路径所使用的分隔符串
SelesctedNode
获取或设置当树节点选定时所使用的图像列表索引值
ShowNodeToolTips
获取或设置一个值,用以指示树图中的树节点是否经过排序
VisibleCount
获取树视图控件黄总完...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 23:04:34   
                                阅读次数:
324
                             
                    
                        
                            
                            
                                程序自动产生随机数(srand 设置种子为系统时间,以保证每次运行程序产生的随机数有差别 
),然后用户输入结果,程序判断用户输入是否正确减法运算时要保证随机产生的a要大于b(用while循环判断,当然前提条件是用户选择的为减法运算,这里只保证式子产生的结果为非负整数)。#include 
#inclu...
                            
                            
                                分类:
其他好文   时间:
2014-05-01 23:59:45   
                                阅读次数:
499
                             
                    
                        
                            
                            
                                Linux
 shell脚本中shift的用法说明
shift命令用于对参数的移动(左移)。
示例1:依次读取输入的参数并打印参数个数:
run.sh:
#!/bin/bash
while [ $# != 0 ];do
echo "第一个参数为:$1,参数个数为:$#"
shift
done
输入如下命令运行:run.sh a b c d e...
                            
                            
                                分类:
系统相关   时间:
2014-05-01 22:06:54   
                                阅读次数:
475
                             
                    
                        
                            
                            
                                看Discuss说是博弈论,没学到这个分类。不过仔细想了想,发现。如果m 2 3 int main() 
{ 4 int m, n; 5 int i; 6 7 while (scanf("%d %d", &m, &n) != EOF) { 8 if 
(m <...
                            
                            
                                分类:
其他好文   时间:
2014-05-01 19:38:17   
                                阅读次数:
368
                             
                    
                        
                            
                            
                                ./nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory...
                            
                            
                                分类:
其他好文   时间:
2014-04-30 22:43:38   
                                阅读次数:
346
                             
                    
                        
                            
                            
                                用c语言实现
#include 
#include 
#include 
using namespace std;
typedef struct node
{
    char x;
    struct node *next;
}chan;
chan *root = new chan;
char a[100010];
int main()
{
    while(scanf("%...
                            
                            
                                分类:
编程语言   时间:
2014-04-29 13:47:20   
                                阅读次数:
358
                             
                    
                        
                            
                            
                                #生成excel
#ljl
use Spreadsheet::WriteExcel; 
my %us;
while(($key, $value) = each %us){
	print "$key|$value\n";
}
 # 创建一个新的EXCEL文件  
  my $workbook = Spreadsheet::WriteExcel->new('poi_count_top15....
                            
                            
                                分类:
其他好文   时间:
2014-04-29 13:33:21   
                                阅读次数:
327
                             
                    
                        
                            
                            
                                Problem:
You are trying to setup a mirroring on a Database called xxxDB(SQL server 2012).
You are getting this error while trying to setup mirroring.
“Neither the partner nor the witness server ins...
                            
                            
                                分类:
数据库   时间:
2014-04-29 13:33:20   
                                阅读次数:
444
                             
                    
                        
                            
                            
                                使用函数操作链表
1:计算链表中结点的个数:定义一个Length_list()函数用于计算链表中结点的个数
函数代码:
//计算链表中结点的个数
void Length_list(PNODE pHead)
{
	PNODE p = pHead->pNext;
	int len = 0;
	while(NULL != p)
	{
		len++;
		p = p->pNext;
...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 13:28:21   
                                阅读次数:
302
                             
                    
                        
                            
                            
                                FAILED: Error in metadata: java.lang.RuntimeException: MetaException(message:org.apache.hadoop.hive.serde2.SerDeException org.apache.hadoop.hive.hbase.HBaseSerDe: columns has 3 elements while hbase.columns.mapping has 4 elements (counting the key if implic...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 13:17:21   
                                阅读次数:
387