码迷,mamicode.com
首页 >  
搜索关键字:parse    ( 5240个结果
ios推送服务,php服务端
本文转载至http://my.oschina.net/AStar/blog/176531生成证书证书生成参考:https://parse.com/tutorials/ios-push-notifications会生成三个文件xxx.cerxxx.certSigningRequestxxx.p12用P...
分类:移动开发   时间:2014-12-19 14:15:15    阅读次数:199
node.js 操作excel
首先安装依赖库node-xlsxnpm installnode-xlsx在操作文件中直接引用var xlsx = require("node-xlsx");读取excelvar list =xlsx.parse("./excel/" + excelName);//读出后是数组,包含每个sheet[ ...
分类:Web程序   时间:2014-12-18 13:21:34    阅读次数:166
6、C#基础整理(for 语句经典习题--for循环嵌套、穷举)
1、for循环嵌套----最基础题目:求阶乘的和 int sum = 0; int n = int.Parse(Console.ReadLine()); for (int i = 0; i 1; n--) 9 {10 Cons...
分类:Windows程序   时间:2014-12-17 18:18:44    阅读次数:238
C#整数三种强制类型转换int、Convert.ToInt32()、int.Parse()的区别
1、int适合简单数据类型之间的转换,C#的默认整型是int32(不支持bool型);2、int.Parse(string sParameter)是个构造函数,参数类型只支持string类型;3、Convert.ToInt32()适合将Object类型转换为int型;4、Convert.ToInt3...
分类:Windows程序   时间:2014-12-17 12:38:24    阅读次数:182
node.js学习第六天--Query String
1、字符串转换Query String模块的基本介绍Query String模块用于实现URL参数字符串与参数对象之间的互相转换,提供了“stringify”、“parse”等一些实用函数来针对字符串进行处理,通过序列化和反序列化,来更好的应对实际开发中的条件需求,对于逻辑的处理也提供了很好的帮助,...
分类:Web程序   时间:2014-12-14 01:52:33    阅读次数:173
node.js学习第四天--url处理
1、parse函数的基础用法parse函数的作用是解析url,返回一个json格式的数组,请看如下示例:var url = require('url');url.parse('http://www.baidu.com');运行结果:{ protocol: 'http:', slashes: nul....
分类:Web程序   时间:2014-12-14 01:52:04    阅读次数:179
Android -- 播放视频的两种形式
1. 采用Intent调用外部播放器进行视频播放 Intent intent = new Intent(Intent.ACTION_VIEW); String type = "video/mp4"; Uri uri = Uri.parse("/sdcard/123.mp4"); intent.setDataAndType(uri, type); startActivity(intent); ...
分类:移动开发   时间:2014-12-13 23:25:18    阅读次数:366
输入身高、体重、性别,判断是否是标准体重,男性标准=(身高-100)+-3,女性标准=(身高-110)+-3
Console.WriteLine("请输入身高"); int hight = int.Parse(Console.ReadLine()); Console.WriteLine("请输入体重"); int we...
分类:其他好文   时间:2014-12-13 21:45:47    阅读次数:230
输入一元二次方程的三个参数,a,b,c,判断是否为一元二次方程,并求解
Console.WriteLine("请输入a"); int a = int.Parse(Console.ReadLine()); Console.WriteLine("请输入b"); int b = int.Parse(Consol...
分类:其他好文   时间:2014-12-13 21:45:23    阅读次数:223
输入一个1-100之内的数,判断是否跟7有关
int a = int.Parse(Console.ReadLine()); if(a>=1 && a<=100) { if((a%7==0)||(a%10==7)||(a/10==7)) ...
分类:其他好文   时间:2014-12-13 21:45:12    阅读次数:243
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!