码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
unigui unidbgrid显示列的合计值
procedure TfrmClient.UniDBGrid1ColumnSummaryResult(Column: TUniDBGridColumn; GroupFieldValue: Variant; Attribs: TUniCellAttribs; var Result: string);....
分类:数据库   时间:2015-04-13 00:17:52    阅读次数:496
<Android>spinner/AutoCompleteTextView绑定适配器
position = (Spinner)findViewById(R.id.position);String[] str = {"CEO","CFO","PM"};ArrayAdapter aa = new ArrayAdapter(this, android.R.layout.simple_spi...
分类:移动开发   时间:2015-04-13 00:11:08    阅读次数:172
ListView详解(二)之simpleAdapter用法
一、SimpleAdapter的参数说明SimpleAdapter(Contextcontext, List>data, int resource, String[]from, int[] to)第一个参数 表示上下文第二个参数表示生成一个Map(String ,Object)列表选项第三个参数表示...
分类:其他好文   时间:2015-04-13 00:08:54    阅读次数:283
NET--C#(学习历程)NO.2
c#中的输入输出:输出: console.write("要输出的内容"); 不换行 console.writeline("要输出的内容"); 换行输入: console.readline();string str=console.write();接受输入console.write("你输入的是:"+...
分类:Windows程序   时间:2015-04-13 00:08:33    阅读次数:247
[*leetcode 30] Substring with Concatenation of All Words
You are given a string,S, and a list of words,L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenati...
分类:其他好文   时间:2015-04-12 23:59:09    阅读次数:368
JAVA中||与|,&&与&的区别
这四个操作符的区别可以通过名字容易的区分: ||(短路或),|(或),&&(短路与),&(按位与) 通过一个简单的例子讲解一下: public class Test1 { public static void main(String[] args) { int i=0; if (3>2 || (i++)>0){ ...
分类:编程语言   时间:2015-04-12 22:49:31    阅读次数:246
解决osgEarth中文显示乱码的几种方法
osgEarth中文显示乱码的几种方法 在此感谢那些在路上那个帮助过别人的朋友,谢谢。 方法一: 通过自己写函数转换类型。 下面这三个函数先复制过去吧。 void unicodeToUTF8(const std::wstring &src, std::string& result) { int n = WideCharToMultiByte( CP_UTF8, 0,...
分类:其他好文   时间:2015-04-12 22:46:32    阅读次数:452
delphi显示Sqlite的Text字段
1 procedure Mainform.SetField(Sender: TField; var Text: string; 2 DisplayText: Boolean); 3 begin 4 Text := Sender.AsString ; 5 end; 6 7 procedur...
分类:数据库   时间:2015-04-12 22:35:43    阅读次数:283
函数——数组排序
namespace 函数冒泡排序{ class Program { static void Main(string[] args) { int[] b = new int[5] { 1,5,3,4,2}; new Program().Array(b); //数组b调用已经写好的Array函数用来排....
分类:编程语言   时间:2015-04-12 22:26:02    阅读次数:158
字符类型
char类型的字面量可以是一个英文字母,字符或一个汉字,并且有单引号包括。java底层使用一个16位的整数来处理字符类型,该数值是一个字符的unicode编码值例:使用java代码打印出1-160的unicode对应字符public static void main(String[] args) {...
分类:其他好文   时间:2015-04-12 22:22:54    阅读次数:111
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!