码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
unity3d中实现聊天功能
【狗刨学习网】 using UnityEngine; using System.Collections; public class Chat : MonoBehaviour {         bool usingChat = false;     bool showChat = false;     string inputField = "";     Vector2 scr...
分类:编程语言   时间:2015-03-03 15:14:46    阅读次数:438
LeetCode[Math]: Integer to Roman
Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999. 欲了解罗马数字的拼写规则请参考:http://blog.csdn.net/chfe007/article/details/44037079C++代码实现如下: string...
分类:其他好文   时间:2015-03-03 15:10:43    阅读次数:132
android string.xml 添加空格
方法:密    码&#160 这个就代表着空格参考:http://www.cnblogs.com/henryxu/archive/2012/08/26/2657097.html
分类:移动开发   时间:2015-03-03 15:00:59    阅读次数:134
Spring中使用WebService
Server端和Client端的Web工程截图: Server代码: package com.wiseweb.bean; public class Order { private int id ; private String name ; private double price ; public Order() { super(); }...
分类:编程语言   时间:2015-03-03 13:44:34    阅读次数:166
acm2017
/**  * 字符串统计  */ import java.util.*; import java.io.*; public class acm2017_1 { public static void main(String[] args) { Scanner in = new Scanner(new BufferedInputStream(System.in)); w...
分类:其他好文   时间:2015-03-03 13:39:03    阅读次数:142
1031. Hello World for U
Given any string of N (>=5) characters, you are asked to form the characters into the shape of U. For example, "helloworld" can be printed as: h d e l l r lowo That is, the characters must be pr...
分类:其他好文   时间:2015-03-03 13:37:59    阅读次数:154
javascript中的this
文章篇幅不是很大,大部分内容是我参考了别人的博客后经过自己理解,自己整理的。方便自己以后回顾知识。文中涉及到javascript中的Array对象的slice()、call()、apply();slice()方法,在我之前做的项目中,有两种数据类型下用到过。第一种是string类型的,还有一种是Ar...
分类:编程语言   时间:2015-03-03 13:34:37    阅读次数:187
mybatis There is no getter for property named 'xx' in 'class java.lang.String
用mybatis查询时,传入一个字符串传参数,且进行判断时,会报There is no getter for property named 'moduleCode' in 'class java.lang.String 错误写法: select modulecode, modul...
分类:编程语言   时间:2015-03-03 13:33:23    阅读次数:151
随机字符串的生成
随机字符串可以用于为用户提供随机密码、随机验证码等等场景之中。好了,话不多说,直接上代码吧 /** * 获取随机字符串 * @param length 生成的字符串长度 * @return */ public static String genRandomNu...
分类:其他好文   时间:2015-03-03 13:22:38    阅读次数:118
c# 打印三角菱形
//打印三角菱形Console.WriteLine("请输入一个数:"); int x = Convert.ToInt32(Console.ReadLine()); string s = ""; string t = "Δ"; // string p = "→_→"; for (int k = 0;...
分类:Windows程序   时间:2015-03-03 13:14:29    阅读次数:177
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!