方法:十进制转十六进制-------除十六取余倒排十进制转二进制--------除二取余倒排void Convert(long Input ,char *output){ vector v; int te; while(Input){ int te = Input%1...
                            
                            
                                分类:
其他好文   时间:
2014-09-12 18:45:43   
                                阅读次数:
248
                             
                    
                        
                            
                            
                                gridveiw中DataKeyNames的属性是绑定数据库中的一个字段,在前台通过datakeynames="id" 比如绑定id在后台获取它的id实现更新操作 int datakey = Convert.ToInt32(gvCategory.DataKeys[e.RowIndex].Value....
                            
                            
                                分类:
其他好文   时间:
2014-09-12 18:33:53   
                                阅读次数:
154
                             
                    
                        
                            
                            
                                在linux中,svn co 或 svn up 时有中文文件名的文件的话,可能会报下面的错:[root@linkea-dev-srv1 ~]# svn upsvn: Can't convert string from 'UTF-8' to native encoding:svn: src/main/...
                            
                            
                                分类:
其他好文   时间:
2014-09-12 11:30:03   
                                阅读次数:
190
                             
                    
                        
                            
                            
                                如果U盘格式为FAT32,拷贝单个文件不能超过2G;如果U盘格式为NTFS,拷贝单个文件不作限制。怎么转换呢?windows系统,打开命令行窗口,输入指令CONVERT K:/FS:NTFS(K就是你U盘再windows识别的盘符)详细如下:
                            
                            
                                分类:
其他好文   时间:
2014-09-12 10:02:33   
                                阅读次数:
160
                             
                    
                        
                            
                            
                                Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999. 罗马数字有如下符号:罗马字符: I V X L C D M对应数字...
                            
                            
                                分类:
其他好文   时间:
2014-09-11 22:07:42   
                                阅读次数:
271
                             
                    
                        
                            
                            
                                Implement atoi to convert a string to an integer.Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below a...
                            
                            
                                分类:
其他好文   时间:
2014-09-10 19:17:40   
                                阅读次数:
270
                             
                    
                        
                            
                            
                                Implementatoito convert a string to an integer.Hint:Carefully consider all possible input cases. If you want a challenge, please do not see below and ...
                            
                            
                                分类:
其他好文   时间:
2014-09-09 15:09:08   
                                阅读次数:
256
                             
                    
                        
                            
                            
                                我觉着写得比看到的答案更清晰~
class Solution {
public:
    TreeNode *ltob(ListNode *head, ListNode *end) {
        if(head == end) {
            TreeNode * node = new TreeNode(head->val);
            return node;...
                            
                            
                                分类:
其他好文   时间:
2014-09-09 12:56:58   
                                阅读次数:
166
                             
                    
                        
                            
                            
                                Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.难度70,与Convert Sorted Array to Binary Sear...
                            
                            
                                分类:
其他好文   时间:
2014-09-08 06:26:16   
                                阅读次数:
263
                             
                    
                        
                            
                            
                                Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.思路: 1 class Solution { 2 public: 3 strin...
                            
                            
                                分类:
其他好文   时间:
2014-09-07 17:13:15   
                                阅读次数:
199