码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
生成条码
先写一个类#region Using directivesusing System;using System.Text;#endregionnamespace Ean13Barcode2005{public class Ean13{private string _sName = "EAN13";pr...
分类:其他好文   时间:2014-05-17 15:17:03    阅读次数:398
重定向语句Response.Redirect()方法与Response.RedirectPermanent()对搜索引擎页面排名的影响
在ASP.NET中,开发人员经常使用Response.Redirect()方法,用编程的手法,将对老的URL的请求转到新的URL上。但许多开发人员没有意识到的是,Response.Redirect()方法发的是个 HTTP 302 Found (临时转向) 回复,会在用户尝试访问老的URL时,导.....
分类:其他好文   时间:2014-05-17 15:02:03    阅读次数:273
c#学习2,面向对象引用
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 对象引用{ class Program { static void Main(string...
分类:其他好文   时间:2014-05-17 14:30:19    阅读次数:279
C Primer Plus (第四章总结)
1.定义字符串可以直接在头文件下定义,如:#include<stdio.h>#definehello"helloworld!"2.sizeof()和strlen()sizeof运算符是以字节为单位给出数据的大小,strlen()是以字符为单位给出长度。<string.h>包含许多与字符串相关的函数的原型,包括strlen()sizeof运算..
分类:其他好文   时间:2014-05-16 02:39:31    阅读次数:211
UNIX进程之间传递文件描述符recvmsg与sendmsg
sendfd.c #include #include #include #include #include #include #include #include #include #define ERR_EXIT(m)         do         {                 perror(m); \...
分类:其他好文   时间:2014-05-16 01:27:02    阅读次数:294
【LeetCode】- String to Integer (字符串转成整形)
[ 问题: ] Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input cases. Notes: It is intended for this...
分类:其他好文   时间:2014-05-15 23:34:05    阅读次数:353
问题总结之多线程
今天跟同事讨论了一下多线程并发问题,为了验证自己的想法,写了如下代码: package com.zken.pkg; public class MultiThread implements Runnable { private String name; public String getName() { return name; } public void setName(Str...
分类:编程语言   时间:2014-05-15 23:28:01    阅读次数:492
asp.net 上传XML,txt 直接读取文件内容
if (GetUploadFileContent.PostedFile.InputStream.Length < 1) { Msg.Text = "请选择文件"; return; } string FileNam...
分类:Web程序   时间:2014-05-15 22:15:08    阅读次数:348
使用typedef语句定义数组类型
使用typedef语句定义数组类型1. 一维数组类型的定义格式typedef [];例如:(1) typedef int vector[10];(2) typedef char strings[80];(3) typedef short int array[N];第一条语句定义了一个元素类型为int...
分类:其他好文   时间:2014-05-15 22:13:17    阅读次数:244
java之折半查找
//功能:二分查找import java.util.*;public class Demo1 { public static void main(String[] args) { int arr[]={2,5,7,12,25};//定义arr数组并赋值 System.out.print("请输入你需...
分类:编程语言   时间:2014-05-15 22:11:22    阅读次数:421
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!