#include #ifdef __cplusplusextern "C"
{#endif#include #include //#include #ifdef _MSC_VERint strcasecmp(const char
*s1, const char *s2){ while ((*s...
分类:
其他好文 时间:
2014-05-05 11:09:37
阅读次数:
382
原来的站点地图,因为启用了伪静态,所以直接伪静态指向生成站点地图的PHP文件,HTML地图无所谓,是正常的,而XML地图,则一直不能显示。从代码里查看,是正常的,后来用http状态查询发现,xml的返回状态是Content-Type:
text/xml而启用伪静态的sitemap.xml返回的状态还...
分类:
其他好文 时间:
2014-05-04 20:47:35
阅读次数:
353
1 DateTime dt = DateTime.Now; 2 // Label1.Text =
dt.ToString();//2005-11-5 13:21:25 3 // Label2.Text =
dt.ToFileTime().ToString();//12775641685...
分类:
其他好文 时间:
2014-05-04 20:02:08
阅读次数:
317
Chapter05变量的更多内容5.1类型转换1.无论什么类型,所有的数据都是一系列的位,即一组0和1。变量的含义是通过解释这些数据的方式来传达的。最简单的示例是char类型,这种类型用一个数字表示Unicode字符集中的一个字符。实际上,这个数字与ushort的存储方式相同----他们都是存储0~...
分类:
其他好文 时间:
2014-05-04 19:34:58
阅读次数:
379
一些属性解释。几个自己认为常用到的属性baseline:默认数值,px
百分比等是元素相对于基线偏移值,负数为向下偏移,正数为向上;text-top:把用vertical属性元素的顶端与父元素中的文字顶端对齐;text-bottom:把用vertical属性元素的底端与父元素中的文字底端对齐;这里说...
分类:
其他好文 时间:
2014-05-04 19:29:49
阅读次数:
314
bool 即是 signed char,在iphone64位是unsigned char
分类:
其他好文 时间:
2014-05-04 19:24:02
阅读次数:
302
char *str1 = NULL; //str1为空 char *str2 = "";
//str2为一个空字符串NULL没有分配空间,""分配了空间。
分类:
其他好文 时间:
2014-05-04 19:17:12
阅读次数:
239
1.字母数字自动换行:wcline.wcline {word-break:
break-all;word-wrap: break-word;}2.内容长度自动截取并添加... overflow:
hidden;text-overflow: ellipsis;white-space: nowrap;
分类:
其他好文 时间:
2014-05-04 19:14:15
阅读次数:
302
using System;using
System.Collections.Generic;using System.Linq;using System.Text;using
System.Web;using System.Collections.Specialized;namespace NewX...
分类:
Web程序 时间:
2014-05-04 19:04:08
阅读次数:
437
#define _CRT_SECURE_NO_WARNINGS
#include"stdio.h"
#include"stdlib.h"
#include"string.h"
void MyPrintf(char **);
void MYSORT(char **, int);
void SORTBUF(char **);
void main()
{
int i = 0;
int j = 0...
分类:
其他好文 时间:
2014-05-04 18:13:12
阅读次数:
341