码迷,mamicode.com
首页 >  
搜索关键字:clean up    ( 10441个结果
使用Apache Axis2 创建 Web Services (bottom-up)
使用ApacheAxis2创建WebServices一.什么是WebServices简单来说WebServices就是一种资源,我们可以通过http访问它,它以xml形式返回我们想要的结果。二.Web应用程序和webservices对比Web应用程序WebServices返回HTML返回XML(SO...
分类:Web程序   时间:2014-07-22 23:14:16    阅读次数:563
【HDOJ】1198 Farm Irrigation
其实就是并查集,写麻烦了,同样的代码第一次提交wa了,第二次就过了。 1 #include 2 #include 3 4 #define MAXNUM 55 5 #define UP 0 6 #define RIGHT 1 7 #define DOWN 2 8 #def...
分类:其他好文   时间:2014-07-22 23:13:53    阅读次数:310
BST(Binary Search Tree)
Definition: see wikihttp://en.wikipedia.org/wiki/Binary_search_tree 1 /* 2 This look up is a fast operation because you eliminate the half 3 t...
分类:其他好文   时间:2014-07-22 23:06:34    阅读次数:330
Heroku installation
It is the first time that I use heroku. But I encountered some problems installing it. Luckily, I resolved the problem.(In windows 8)Step 1: Sign up.....
分类:其他好文   时间:2014-05-01 12:32:50    阅读次数:317
整理,模板
组合数学、-排列组合数----sum求sum=sum*(m--)/i;int c(int n,int m)//n下标,m上标{ int sum=1; for(int i=1;in-m) m=n-m; int temp=n; for(int i=1;i1) { up[j]/=temp; d...
分类:其他好文   时间:2014-05-01 01:07:44    阅读次数:409
GDB 调试 C/C++ Project
平时做算法题目, 没少用到 GDB, 但今天才意识到 Project 的调试方法与单个 cpp 文件的不同之处, 比如 gdb list 命令, 在单个 cpp 文件中列出的是源代码, 但在 project 中却什么都不显示Project Debug 时, file 参数的使用[1] 有讲解, UP...
分类:数据库   时间:2014-04-30 17:23:01    阅读次数:527
LeetCode1:Two Sum
题目: Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the t...
分类:其他好文   时间:2014-04-30 03:20:07    阅读次数:502
lightswitch binding custom control
Listing 1: Setting up data binding for the Rating controlusingSystem.Windows.Controls;usingSystem.Windows.Data;usingMicrosoft.LightSwitch.Threading;na...
分类:其他好文   时间:2014-04-30 01:57:00    阅读次数:517
使用JTextArea示例
相对于JLabel显示提示文字,JTextArea有一个先天优势:文字可以拷贝出来。经过下面设置它也能在外观上和JLabel一致。代码如下:JTextArea txtArea=new JTextArea(5,20);// 初始化// 设置文字txtArea.setText("We needto up...
分类:其他好文   时间:2014-04-29 09:33:45    阅读次数:544
vi 操作技巧
输入模式的操作Home光标到行首End 光标到行尾Page Up和Page Down上下翻页Delect删除光标位置的字符删除操作(命令模式使用)x删除光标处的单个字符dd删除光标所在行dw删除当前字符到单词尾包括空格的所有字符#x例如3x删除光标处向右的三个字符#dd例如3dd从当前行开始向下删除...
分类:其他好文   时间:2014-04-28 15:21:16    阅读次数:588
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!