码迷,mamicode.com
首页 >  
搜索关键字:ss    ( 3412个结果
java 之 --------------- String 面试基础的 题
package stu.love.a; /* 字符串: */ public class StringDemo { public static void main(String[] args) { //字符串是常量;一旦创建了字符串,就不能被改变了 String ss = "hello"; ss = "world"; System.out.println(ss...
分类:编程语言   时间:2014-07-29 14:36:28    阅读次数:203
sscanf函数和正则表达式
此文所有的实验都是基于下面的程序:char str[10];for (int i = 0; i using namespace std;int main(){ char str[10]; for (int i = 0; i #include #include static void ss...
分类:其他好文   时间:2014-07-29 12:36:07    阅读次数:244
经纬度
首先你要了解经线、纬线。 经线。以地心为原点,通过地球南北两极的连线为经线,两条经线构成一个经线圈,地心是经线圈的中心。两个经线圈之间的角度差就是经度。 纬线。地球上任意一点与地心的连线与赤道平面的夹角为纬度,同一半球表面上,所有纬度相通的点组成的集合就是纬线(圈)。 ...
分类:其他好文   时间:2014-07-29 11:28:16    阅读次数:246
字符串转换成时间类型
方法一:Convert.ToDateTime(string)string格式有要求,必须是yyyy-MM-dd hh:mm:ss================================================方法二:Convert.ToDateTime(string, IFormat...
分类:其他好文   时间:2014-07-29 11:10:56    阅读次数:222
java Date函数总结
java.util.Date为java时间接口,已知的实现类包括Date,Time,TimeStamp  Calendar calendar=Calendar.getInstance();   DateFormat df=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");   Date dateA=new Date(); //初始化dataA为当...
分类:编程语言   时间:2014-07-28 16:08:43    阅读次数:779
将所有div下的所有li的名字设为"哈哈",当点击的时候设为"我被点击了",其余没有点击的依然设为“哈哈”
//将所有div下的所有li的名字设为"哈哈",当点击的时候设为"我被点击了",其余没有点击的依然设为“哈哈” $(function () { var ss = $("div li"); //获取div下的所有li元素 $.each(ss, function () { //遍历获取到的这些li元素 $(...
分类:其他好文   时间:2014-07-27 23:47:49    阅读次数:190
P104
#include #include #define M 5 #define N 20 int fun(char (*ss)[N],int *n) { int i,k=0,len=N; for(i=0;i<M;i++) { len=strlen(ss[i]); if(i==0)*n=len; if(len<*n){ *n=len; k=i; } } return k;...
分类:其他好文   时间:2014-07-27 11:28:32    阅读次数:190
json返回date类型转为字符串
js代码如下:Date.prototype.format = function(format) { /* * format="yyyy-MM-dd hh:mm:ss"; */ var o = { "M+" : this.getMonth() + 1, "d+" : this.getDate(...
分类:Web程序   时间:2014-07-26 14:30:40    阅读次数:263
使用GPIO模拟SPI总线进行通信
下面给出了模拟SPI总线在模式1下进行读写的伪代码,用以说明如何使用GPIO实现SPI通信: ??? ????#define?SS??????252?????????????????????//定义SS所对应的GPIO接口编号??...
分类:其他好文   时间:2014-07-26 03:33:17    阅读次数:267
简单的创建一张excel表
*类库去我的下载里面下载usingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Web; usingSystem.Web.UI; usingSystem.Web.UI.WebControls; usingNPOI.HSSF.UserModel; usingNPOI.SS.UserModel; usingSystem.Data; usingSystem.IO; publicpartialclas..
分类:其他好文   时间:2014-07-26 03:11:08    阅读次数:205
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!