码迷,mamicode.com
首页 >  
搜索关键字:life in programming    ( 6263个结果
CTCI 3.3
Imagine a (literal) stack of plates. If the stack gets too high, it might topple. Therefore, in real life, we would likely start a new stack when the ...
分类:其他好文   时间:2014-07-16 23:07:09    阅读次数:196
Programming Assignment 4: 8 Puzzle
The Problem. 求解8数码问题。用最少的移动次数能使8数码还原. Best-first search.使用A*算法来解决,我们定义一个Seach Node,它是当前搜索局面的一种状态,记录了从初始到达当前状态的移动次数和上一个状态。初始化时候,当前状态移动次数为0,上一个状态为null,将...
分类:其他好文   时间:2014-07-16 21:29:13    阅读次数:187
CTCI 3.3
Imagine a (literal) stack of plates. If the stack gets too high, it might topple. Therefore, in real life, we would likely start a new stack when the ...
分类:其他好文   时间:2014-07-12 08:24:00    阅读次数:258
CTCI 3.3
Imagine a (literal) stack of plates. If the stack gets too high, it might topple. Therefore, in real life, we would likely start a new stack when the ...
分类:其他好文   时间:2014-07-12 08:23:16    阅读次数:231
CTCI 3.3
Imagine a (literal) stack of plates. If the stack gets too high, it might topple. Therefore, in real life, we would likely start a new stack when the ...
分类:其他好文   时间:2014-07-12 08:22:39    阅读次数:181
Android JNI programming demo with Eclipse
用Eclipse 建立 JNI 的專案, 示範如何在 JAVA 調用 cpp 的函數. 我們將建立一個名稱為 jnidemo的專案, 在主Activity 將調用一個名為libHello.so 的 cpp 函數庫的 getVersion() 的函數, 將其返回字串寫在主Activity 的TextView 上. 首先用Eclipse建立一個新的 Android Activity...
分类:移动开发   时间:2014-07-09 09:24:07    阅读次数:393
Welcome to Swift
Swift is a new object-oriented programming language for iOS and OSX development. Swift is modern, powerful, and easy to use.这是苹果官方网站上Swift的第一句寄语,这句话的意...
分类:其他好文   时间:2014-07-08 22:13:00    阅读次数:228
《Swift编程语言》中文翻译及读书笔记page22
·《The Swift Programming Language》中文翻译及读书笔记,附件中为英文原版教程 因21页之前内容和技术关系不大,不做翻译整理,从第21页开始 ·        第22页 本页知识点总结 1 如何在一行里定义多个变量?   var开始、等号赋值、用逗号间隔   eg1: var x = 19.4, y = 18.4 z = 7.311   需...
分类:编程语言   时间:2014-07-08 20:12:27    阅读次数:281
POJ-1324-Holedox Moving(BFS)
Description During winter, the most hungry and severe time, Holedox sleeps in its lair. When spring comes, Holedox wakes up, moves to the exit of its lair, comes out, and begins its new life.  Hol...
分类:其他好文   时间:2014-07-08 17:28:54    阅读次数:256
《Swift编程语言》中文翻译及读书笔记page21
·《The Swift Programming Language》中文翻译及读书笔记,附件中为英文原版教程 因21页之前内容和技术关系不大,不做翻译整理,从第21页开始         第21页 1 swift作为一门语言对的新老语言的继承与扩展      本页主要内容是简要介绍了一下swift编程语言的定位。拥有自己的数据类型int、float、string等数据类型外,swift还具有...
分类:编程语言   时间:2014-07-08 16:11:05    阅读次数:265
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!