首页 > 2015年12月03日 > 全部分享
Object-C,NSURL,统一资源定位器
今天晚上最后一个例子,写完休息娱乐一会。  URL,统一资源定位器,可以定位网络上的一个资源。  没啥难的,还是对象、方法、API。和Java等语言没有啥区别。   不亲自一点点写一遍,印象不深,今后进一步深入学习iOS时,会遇到很多问题,倒是再回头看,也没效率。  代码// // main.m // NSURLTest // // Created by fansunion on 15/12...
分类:Web开发   时间:2015-12-03 07:14:34    收藏:0  评论:0  赞:0  阅读:256
1027. Colors in Mars (20)【进制转换】——PAT (Advanced Level) Practise
题目信息1027. Colors in Mars (20)时间限制400 ms 内存限制65536 kB 代码长度限制16000 BPeople in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-d...
分类:其他   时间:2015-12-03 07:14:24    收藏:0  评论:0  赞:0  阅读:342
Object-C学习比较费劲的3点原因
作为一名有8年编程经验的资历不浅的程序员,学习Object-C和iOS,感觉效率有点低,至少和学习Android比起来,慢的不是一点点。    主要有以下3个原因:1.Object-C,和C系列的语言(C、Java、C++、C#)语法差别有点打,最大的区别是“函数调用的方式”。   感觉很脑残啊~[object method]; 写代码,非常不连贯。没有object.method()爽啊~2.Ma...
分类:其他   时间:2015-12-03 07:14:15    收藏:0  评论:0  赞:0  阅读:281
脚步语言的评估
混合语言是一种知识密集型的编程。我们必须具备能判断这些语言在什么地方最合适。虽然C语言的工作效率高和接近机器语言。但开发速度成本高,而相对脚步语言,则更容易解决实际问题。以下就我工作中会用到的脚步语言. Shell Shell 有多种变种,目前大多数Linux默认的shell是bash。简单shel...
分类:编程语言   时间:2015-12-03 07:13:43    收藏:0  评论:0  赞:0  阅读:296
JavaScript数字精度丢失问题总结
本文分为三个部分JS 数字精度丢失的一些典型问题JS 数字精度丢失的原因解决方案(一个对象+一个函数)一、JS数字精度丢失的一些典型问题1. 两个简单的浮点数相加0.1 + 0.2 != 0.3 // trueFirebug这真不是 Firebug 的问题,可以用alert试试 (哈哈开玩笑)。看看...
分类:编程语言   时间:2015-12-03 07:13:34    收藏:0  评论:0  赞:0  阅读:330
Mojette
Mojette Transform是由Polytech Nantes的IRCCYyN实验室的Jeanpierre Guédon首先提出的一种离散的几何转换,它来源于Radon transform,是Radon transform的离散的更准确的表达。Radon Transform:Radon tra...
分类:其他   时间:2015-12-03 07:13:23    收藏:0  评论:0  赞:0  阅读:180
mysql函数操作(5)
getMessage(); exit; } echo ''; echo '联系人信息表'; echo ''; echo 'UID姓名联系地址...
分类:数据库技术   时间:2015-12-03 07:13:13    收藏:0  评论:0  赞:0  阅读:331
mysql函数操作(4)
prepare($query); //传递一个数组为预处理查询中的问号参数绑定值,并执行一次。 $stmt->execute(array("赵某某", "海淀区", "15801688348")); //再次传递一个数组为预处理查询中的问号参数绑定值,并执行...
分类:数据库技术   时间:2015-12-03 07:13:03    收藏:0  评论:0  赞:0  阅读:184
259. 3Sum Smaller
题目:Given an array ofnintegersnumsand atarget, find the number of index tripletsi, j, kwith0 <= i < j < k < nthat satisfy the conditionnums[i] + nums[j...
分类:其他   时间:2015-12-03 07:12:53    收藏:0  评论:0  赞:0  阅读:239
[傅里叶变换及其应用学习笔记] 十. 卷积与中心极限定理
这份是本人的学习笔记,课程为网易公开课上的斯坦福大学公开课:傅里叶变换及其应用。中心极限定理(Central Limit Theorem)中心极限定理,简称CLT。大多数概率事件,当有足够多的取样时,都服从高斯分布。(Most probabilities – some kind of average...
分类:其他   时间:2015-12-03 07:12:44    收藏:0  评论:0  赞:0  阅读:517
mysql函数操作(3)
setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $query = "SELECT name, phone, email FROM contactInfo WHERE departmentId='D01'"; ...
分类:数据库技术   时间:2015-12-03 07:12:34    收藏:0  评论:0  赞:0  阅读:292
mysql函数操作(6)
getMessage(); exit; } echo ''; echo '联系人信息表'; echo ''; echo '...
分类:数据库技术   时间:2015-12-03 07:12:13    收藏:0  评论:0  赞:0  阅读:250
mysql函数操作(2)
setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $query = "SELECT name, phone, email FROM contactInfo WHERE departmentId='D01'"; ...
分类:数据库技术   时间:2015-12-03 07:12:03    收藏:0  评论:0  赞:0  阅读:271
257. Binary Tree Paths
题目:Given a binary tree, return all root-to-leaf paths.For example, given the following binary tree: 1 / \2 3 \ 5All root-to-leaf paths are:["...
分类:其他   时间:2015-12-03 07:11:53    收藏:0  评论:0  赞:0  阅读:304
[lintcode easy]Product of Array Exclude Itself
Product of Array Exclude ItselfGiven an integers array A.Define B[i] = A[0] * ... * A[i-1] * A[i+1] * ... * A[n-1], calculate B WITHOUT divide operati...
分类:其他   时间:2015-12-03 07:11:43    收藏:0  评论:0  赞:0  阅读:381
mysql函数操作
getMessage(); exit; } $query = "UPDATE contactInfo SET phone='15801680168' where name='高某某'"; //使用exec()方法可以执行INSERT、UPDATE和D...
分类:数据库技术   时间:2015-12-03 07:11:25    收藏:0  评论:0  赞:0  阅读:317
258. Add Digits
题目:Given a non-negative integernum, repeatedly add all its digits until the result has only one digit.For example:Givennum = 38, the process is like:3...
分类:其他   时间:2015-12-03 07:11:13    收藏:0  评论:0  赞:0  阅读:325
[lintcode easy]Compare Strings
Compare StringsCompare two strings A and B, determine whether A contains all of the characters in B.The characters in string A and B are all Upper Cas...
分类:其他   时间:2015-12-03 07:11:03    收藏:0  评论:0  赞:0  阅读:333
255. Verify Preorder Sequence in Binary Search Tree
题目:Given an array of numbers, verify whether it is the correct preorder traversal sequence of a binary search tree.You may assume each number in the s...
分类:其他   时间:2015-12-03 07:10:54    收藏:0  评论:0  赞:0  阅读:272
TCAM 与CAM
CAM是Content Addressable Memory的缩写,即“内容寻址存储器”的意思,它是在传统的存储技术的基础上实现的联想记忆存储器,关于CAM的基本操作有三种: 1).写操作:输入地址和数据,将数据写到指定的地址上,写入速度与RAM相同; 2).读操作:输入地址,返回该地址上的数据,读...
分类:其他   时间:2015-12-03 07:10:43    收藏:0  评论:0  赞:0  阅读:429
2251条   上一页 1 ... 89 90 91 92 93 ... 113 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!