码迷,mamicode.com
首页 >  
搜索关键字:le ge lt gt eq ne    ( 256714个结果
使用Android-smart-image-view加载网络图片
界面效果 应用的权限   布局文件 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" andr...
分类:移动开发   时间:2014-06-03 00:45:02    阅读次数:303
Iterative (non-recursive) Quick Sort
An iterative way of writing quick sort: #include #include #include using namespace std; void quickSort(int A[], int n) { stack> stk; stk.push(make_pair(0, n-1)); while (!stk.empty()) { pair ...
分类:其他好文   时间:2014-06-03 00:16:43    阅读次数:357
java二叉树
网上有关于二叉数的java实现http://blog.csdn.net/skylinesky/article/details/6611442 多数案例都没有键值,有键值的也全是整型。我用java实现了一个可以任何对象为键的二叉数 package Tree; import java.io.IOException; public class Tree ,V> { @SuppressW...
分类:编程语言   时间:2014-06-03 00:14:07    阅读次数:297
LeetCode: Partition List [086]
【题目】 Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should preserve the original relative order of the nodes in each of the two partitions. For example, Given 1->4->3-...
分类:其他好文   时间:2014-06-03 00:02:29    阅读次数:270
GNU风格ARM汇编编程实战之一 <C与汇编混合编程>
一、参考资料...
分类:其他好文   时间:2014-06-03 00:01:06    阅读次数:524
哇!板球 源码分析二
游戏主页面布局 创建屏下Score标签 pLabel = CCLabelTTF::create("Score", "Arial", TITLE_FONT_SIZE); //分数标签 //设置标签字体的颜色 pLabel->setColor (ccc3(0, 0, 0)); //设置文本标签的位置 pLabel->setPosition (...
分类:其他好文   时间:2014-06-02 23:22:13    阅读次数:197
HashMap的两种排序方式
Map map = new HashMap(); map.put("d", 2); map.put("c", 1); map.put("b", 1); map.put("a", 3); List> infoIds = new ArrayList>(map.entrySet()); //排序前 for (int i = 0; i < infoIds.size(); i++) { ...
分类:其他好文   时间:2014-06-02 23:05:01    阅读次数:279
python开发环境设置(windows)
python开发环境设置(windows) 1)  python2.7.3安装 在www.python.org上下载python-2.7.6.amd64.msi软件,安装完成后设置path路径。控制面板->高级系统设置->高级->环境变量->新建用户变量,输入变量名path,变量值,确定,确定。 查看设置是否成功:cmd->python,有如下图输出,说明环境变量设置成功...
分类:编程语言   时间:2014-06-02 22:41:26    阅读次数:401
STM32学习之路-LCD(2)<LCD初始化>
这些天一直在研究LCD的初始化函数,因为不过是用IO口模拟时序还是用FSMC来驱动LCD,都必须要弄好LCD的初始化 其实LCD的初始化就是跟着LCD IC的datasheet来写寄存器,大部分都使用上面的默认值,网上有很多修改的例子,这里就不 放出来了.但是我想写下一些比较重要的东西。 这是从网上下载来的一个文件的前半部分: 当然,别的型号的IC也是有这些东西的,不过可能有些地址...
分类:其他好文   时间:2014-06-01 10:51:45    阅读次数:319
每日算法之二十二:Swap Nodes in Pairs
Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the list as 2->1->4->3. Your algorithm should use only constant space....
分类:其他好文   时间:2014-06-01 10:41:23    阅读次数:242
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!