自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 AbstractMethodError:DocumentImpl.getXmlStandalone()Z

<br />xception in thread "AWT-EventQueue-0" java.lang.AbstractMethodError: org.apache.xerces.dom.DocumentImpl.getXmlStandalone()Z at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.setDocumentInfo(Unknown Source) at com.sun.org.apache.xalan.interna

2011-02-17 20:04:00 6879

原创 string的写时拷贝分析

在本机器上调用sizeof(string)的时候,答案为4 于是好奇之 typedef basic_string string; *  A string looks like this:   *   *  @code   *                                        [_Rep]   *                                        _M_length   *   [basic_string]            _M_capa

2010-10-09 22:52:00 1166 1

原创 android学习笔记

permission部分需要添加到package标签下方

2010-09-01 14:44:00 306

原创 boolean.class不起作用

boolean st=false;Boolean sst2=true;if(Boolean.class.isInstance(st)){ System.out.println("ss");}if(boolean.class.isInstance(st)){ System.out.println("SS2");}执行结果为ss 结论bo

2010-05-20 15:17:00 576

原创 STL::map,multimap用法

#include #include #include #include #include using namespace std;int rands(){ return rand()%10;}int main(){ //map 里面不会有重复的元素 //multimap 可以有重复元素,即可以有关键字相同的值 map stda;//第

2010-05-07 19:04:00 2049

原创 STL::set用法

#include #include #include #include using namespace std;struct c3dpoint { c3dpoint(int x,int y,int z) { coord[0]=x; coord[1]=y; coord[2]=z; } union { int coord[3];

2010-05-07 19:01:00 467

转载 用fstream打开中英文混合的字符串的文件

解决思路:fstream的open函数申明的参数为const wchar_t *于是网上搜索string和wchar_t的转换方法 fstream rfile; string str("L://中文//cube.obj"); wchar_t wcs[200]; //const wchar_t* test = L"测a试bcd";

2010-05-06 10:47:00 531

原创 对XML文件处理

import java.io.File;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.IOException;import java.io.InputStream;import java.util.LinkedList;import java.util.List;import

2010-05-03 22:19:00 472

原创 从互联网down文件

// 本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/taoyong2008/archive/2008/08/21/2805712.aspx  /** *  *//** * 文件名称:downLoadFile.java * * * 修改历史: */import java.awt.Color;import java.awt.image.Buffer

2010-05-03 22:17:00 545

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除