码迷,mamicode.com
首页 >  
搜索关键字:let    ( 14348个结果
[boost] build boost with intel compiler 16.0.XXX
IntroductionThere are few information about how to compile boost with Intel compiler. This article is to describe a simple command steps to let you get a boost library with Intel compiler support.Step...
分类:其他好文   时间:2015-12-05 07:15:05    阅读次数:147
Swift 学习之基本语法 -- (一)
Swift 已经出来好久了,一直没有开始的学习,现在开始下定决定系统的学习一下。任何一种语言的学习起步都是语法: ///1、 注意:let 修饰的是 不可变 var是可变 let maximumNumberOfLoginAttempts = 10; var current...
分类:编程语言   时间:2015-12-03 18:44:19    阅读次数:180
1032. Sharing (25)【链表】——PAT (Advanced Level) Practise
题目信息1032. Sharing (25) 时间限制100 ms 内存限制65536 kB 代码长度限制16000 BTo store English words, one method is to use linked lists and store a word letter by letter. To save some space, we may let the words share...
分类:其他好文   时间:2015-12-03 14:15:43    阅读次数:140
Counting-Sort
Counting-Sort(A,B,k) let C[0..k] be a new array for i = 0 to k C[i] = 0 for j = 1 to A.length C[A[j]] = C[A[j]] + 1 //C[i] now contains th...
分类:其他好文   时间:2015-12-03 08:27:41    阅读次数:156
hdu 1671 Phone List
Problem DescriptionGiven a list of phone numbers, determine if it is consistent in the sense that no number is the prefix of another. Let’s say the ph...
分类:其他好文   时间:2015-12-02 14:19:14    阅读次数:180
[Redux] Writing a Todo List Reducer (Adding a Todo)
Learn how to implement adding a todo in a todo list application reducer.let todo = (state = [], action) => { switch(action.type){ case 'ADD_ITEM...
分类:其他好文   时间:2015-12-02 06:31:46    阅读次数:144
Swift 变量、常量、数据类型
1 import Foundation 2 3 print("HelloSwift") 4 5 // 声明变量 6 var a = 1 7 var b = 2 8 a = 10 9 b = 2010 11 // 常量12 let c = a+b13 14 15 var str = "Hello...
分类:编程语言   时间:2015-11-29 19:33:51    阅读次数:141
[Javascript] What is JavaScript Function Currying?
Currying is a core concept of functional programming and a useful tool for any developer's toolbelt.Example 1:let f = a => b => c => a+b+c;let result ...
分类:编程语言   时间:2015-11-29 06:19:04    阅读次数:140
01swife基础语法
看下:oc和swife基本语法的区别(简单写下概念,有时间再来整理)1.导入框架import Foundation2.定义'标示符'时必须指定该标示符是变量还是常量int age = 20;格式:标示符 : 类型let : 定义常量var : 定义变量let age : Int = 20var a ...
分类:其他好文   时间:2015-11-28 15:02:45    阅读次数:190
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!