<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>C/C++/Java - 技术文档</title>
    <link>http://article.phpfans.net</link>
    <description>PHP爱好者,新闻,论坛,问答吧,文档,手册,下载,博客</description>
    <copyright>Copyright(C) PHPfans</copyright>
    <lastBuildDate>Mon, 06 Sep 2010 14:54:44 +0800</lastBuildDate>
    <image>
      <url>http://www.phpfans.net/image/phpfans.logo.gif</url>
      <title>PHP爱好者</title>
      <link>http://www.phpfans.net</link>
    </image>
    <item>
      <title>C++的cin/cout高阶格式化操作</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMTQy.html</link>
      <description><![CDATA[这篇文章主要讲解如何在C++中使用cin/cout进行高级的格式化输出操作，包括数字的各种计数法（精度）输出，左或右对齐，大小写等等。通过本文，您可以完全脱离scanf/printf，仅使用cin/cout来完成一切需要的格式化输入输出功能（从非性能的角度而言）。更进一步而言，您还可以在&lt;sstream&gt;、&lt;fstream&gt;上使用这些格式化操作，从而代替sscanf/spr...]]></description>
      <category>C/C++/Java</category>
      <author>Devymex</author>
      <pubDate>Mon, 06 Sep 2010 12:08:00 +0800</pubDate>
    </item>
    <item>
      <title>Java中tostring方法的作用</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMTcy.html</link>
      <description><![CDATA[　　因为它是Object里面已经有了的方法，而所有类都是继承Object，所以“所有对象都有这个方法”　　它通常只是为了方便输出，比如System.out.println(xx)，括号里面的“xx”如果不是String类型的话，就自动调用xx的toString()方法　　总而言之，它只是sun公司开发java的时候为了方便所有类的字符串操作而特意加入的一个方法　　回答补充：　　写这个方法的用途就是...]]></description>
      <category>C/C++/Java</category>
      <author>xiang002</author>
      <pubDate>Mon, 06 Sep 2010 11:50:00 +0800</pubDate>
    </item>
    <item>
      <title>Java过滤字符串的方法</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMTcx.html</link>
      <description><![CDATA[　　要求：如果需要过滤的字符串(用集合存储)很多有一万个以上，写出效率高的方法
　　注意：高效率高效率高效率 有心人 请把代码写出来 谢谢
　　这样过滤：“你TMD，也太缺德了吧”过滤后“你***，也太缺德了吧”把骂人的脏话过滤成*号
　　package test;
　　import java.util.HashMap;
　　/**
　　* maxLength-需要过滤最长字符串的长度...]]></description>
      <category>C/C++/Java</category>
      <author>jiang001</author>
      <pubDate>Mon, 06 Sep 2010 11:47:00 +0800</pubDate>
    </item>
    <item>
      <title>The United Kingdom in the north Atlantic Ocean</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMTM5.html</link>
      <description><![CDATA[There are two reasons. First of all, the United Kingdom in the north Atlantic Ocean, a maritime climate, warm and humid air by the impact of the North Atlantic, the four seasons did not change signifi...]]></description>
      <category>C/C++/Java</category>
      <author>coachoutlet4sale</author>
      <pubDate>Mon, 06 Sep 2010 11:43:00 +0800</pubDate>
    </item>
    <item>
      <title>Java内存管理的9个小技巧</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMTY5.html</link>
      <description><![CDATA[　　本文将介绍几则Java内存管理的小技巧，让你告别陋习，为自己所编写的Java程序提速。　　很多人都说“Java完了，只等着衰亡吧!”，为什么呢？最简单的的例子就是Java做的系统时非常占内存!一听到这样的话，一定会有不少人站出来为Java辩护，并举出一堆的性能测试报告来证明这一点。其实从理论上来讲Java做的系统并不比其他语言开发出来的系统更占用内存，那么为什么却有这么多理由来证明它确实占内存...]]></description>
      <category>C/C++/Java</category>
      <author>joejoe0332</author>
      <pubDate>Mon, 06 Sep 2010 11:06:00 +0800</pubDate>
    </item>
    <item>
      <title>The using declaration in C++</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMDcy.html</link>
      <description><![CDATA[嗷嗷按，用C++这么多年，还真的第一次注意到有这个东西，具体所有细节还没整理出来。
先用个例子说明一下大概
&nbsp;

class AA{public:    int i;    int j;}...]]></description>
      <category>C/C++/Java</category>
      <author>嗷嗷</author>
      <pubDate>Sun, 05 Sep 2010 23:30:00 +0800</pubDate>
    </item>
    <item>
      <title>#ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__; #endif(转）</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMDQ0.html</link>
      <description><![CDATA[
情况1:#ifdef _DEBUGvirtual void AssertValid() const;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp...]]></description>
      <category>C/C++/Java</category>
      <author>hedantou</author>
      <pubDate>Sun, 05 Sep 2010 20:27:00 +0800</pubDate>
    </item>
    <item>
      <title>C++循环的简单使用【闲来写来练练手~】</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMDM1.html</link>
      <description><![CDATA[<img class="code_img_closed" id="code_img_closed_54587f31-9c94-4dab-9f45-9122e1e41fb5" src="http://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif"  alt="" /><img class="code_img_opened" id="code_img_opened_54587f31-9c94-4dab-9f45-9122e1e41fb5" style="display: none" onclick="cnblogs_code_hide('54587f31-9c94-4dab-9f45-9122e1e41fb5',event)" src="http://images.cnblogs.com/OutliningIndicators/ExpandedBlockStart.gif">代码

&nbsp;1&nbsp;&nbsp;&nbsp;2&nbsp;#include&lt;iostream.h&gt;&nbsp;3&nbsp;#define&nbsp;N&nbsp;10&n...]]></description>
      <category>C/C++/Java</category>
      <author>冬天的草</author>
      <pubDate>Sun, 05 Sep 2010 19:04:00 +0800</pubDate>
    </item>
    <item>
      <title>C语言的多态性，你的多态你做主</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMDU1.html</link>
      <description><![CDATA[&nbsp;&nbsp;在Linux的内核代码中，多处都用到面向对象的设计理念，比如，在文件系统系统的设计中，有四个主要的对象：超级块，索引节点，目录项和文件。在每个对象定义的结构体，都有一个指向指向对象操作的结构体，在这个结构体中的所有字段都是指向函数的指针，例如file结构中的缩略定义：

struct file 

{

&nbsp;&nbsp;struct
file_oper...]]></description>
      <category>C/C++/Java</category>
      <author>陈莉君</author>
      <pubDate>Sun, 05 Sep 2010 18:06:00 +0800</pubDate>
    </item>
    <item>
      <title>浅谈C++中三种继承关系</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMDMw.html</link>
      <description><![CDATA[
成员属性有三种：private，protected，public；在类的继承中依然是这三种属性；（暂停一下，刚有看到一个人的帖子，有受打击，差点崩溃）
private继承中，派生类在拥有父类的所有成员后，会对继承下来的成员修改它们的属性，既将所有属性全部变成private；由此一来在派生类的外部代码中不能访问从父类继承过来的成员了，即使之前在父类中是public属性也不行；然而之前是public...]]></description>
      <category>C/C++/Java</category>
      <author>......布之</author>
      <pubDate>Sun, 05 Sep 2010 17:58:00 +0800</pubDate>
    </item>
    <item>
      <title>新颖网络文件上传插件开发文档For VC6</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMDI5.html</link>
      <description><![CDATA[&nbsp;
版权所有 2009-2010 北京新颖网络
保留所有权利
官方网站：http://www.ncmem.com
官方博客：http://www.cnblogs.com/xproer
产品论坛：http://www.5gzl.com/bbs/
联系邮箱：1085617561@qq.com
Visual Studio 6.0示例下载：http://www.ncmem.com/downloa...]]></description>
      <category>C/C++/Java</category>
      <author>XproerStorage</author>
      <pubDate>Sun, 05 Sep 2010 17:49:00 +0800</pubDate>
    </item>
    <item>
      <title>1119: 访问可能未定义的属性 useCodepage (通过 static 类型 Class 引用)</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMDA5.html</link>
      <description><![CDATA[被这个无聊的问题折腾了一下...也许你已经看出来了useCodepage 中的p要大写。]]></description>
      <category>C/C++/Java</category>
      <author>riacool</author>
      <pubDate>Sun, 05 Sep 2010 15:46:00 +0800</pubDate>
    </item>
    <item>
      <title>虚拟化应用（二）管理 vCenter Server 实体</title>
      <link>http://www.phpfans.net/article/htmls/201009/MzAwMDAz.html</link>
      <description><![CDATA[正如企业中有多个管理部门一样，在一个虚拟化系统中也分为若干个实体。测试代码下载

测试环境：

Windows Server 2008 R2 DataCenter

VMWare Workstation 7.1

VMWare vSphere 4.1、VMWare
vCenter Server 4.1

JDK 1.6 u-21 x64、Eclipse For
JavaEE 3.6 x64

VM...]]></description>
      <category>C/C++/Java</category>
      <author>MYM]Brooks</author>
      <pubDate>Sun, 05 Sep 2010 15:26:00 +0800</pubDate>
    </item>
    <item>
      <title>NHibernate连接Oracle配置问题</title>
      <link>http://www.phpfans.net/article/htmls/201009/Mjk5OTg3.html</link>
      <description><![CDATA[这几天在做NHibernate连接Oracle的测试，配置文件是从NHibernate发行包里拷贝出来的，做了简单的连接字符的修改，配置文件如下：

<img style="display: none;" id="code_img_closed_ef56f7f9-acdf-4287-9407-4567ec0037e2" class="code_img_closed" src="http://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif" /><img onclick="cnblogs_code_hide('ef56f7f9-acdf-4287-9407-4567ec0037e2',event)" id="code_img_opened_ef56f7f9-acdf-4287-9407-4567ec0037e2" class="code_img_opened" src="http://images.cnblogs.com/OutliningIndicators/ExpandedBlockStart.gif" />代码

&lt;?xml version="1....]]></description>
      <category>C/C++/Java</category>
      <author>kasoo</author>
      <pubDate>Sun, 05 Sep 2010 13:59:00 +0800</pubDate>
    </item>
    <item>
      <title>MyEclipse 断言(assert)设置</title>
      <link>http://www.phpfans.net/article/htmls/201009/Mjk5OTg1.html</link>
      <description><![CDATA[在MyEclipse中启动assert（断言）
依次进入在MyEclipse8的菜单项Window -&gt; Preferences -&gt; Java -&gt; Compiler -&gt; Compliance and Classfiles断言在java的JDK1.4版本中添加进来，JVM默认assertion的功能是关闭的.这个设置告诉编译器识别和允许断言语句，但是还没有开启断言。接下...]]></description>
      <category>C/C++/Java</category>
      <author>吴X</author>
      <pubDate>Sun, 05 Sep 2010 13:34:00 +0800</pubDate>
    </item>
    <item>
      <title>[VC6] 图像文件查看器</title>
      <link>http://www.phpfans.net/article/htmls/201009/Mjk5OTIw.html</link>
      <description><![CDATA[　　　　在今天较少有情况需要去研究图像的文件格式，除非某些特定场合。在这里我还是去先做了这样一个小工具，并初步实现了展示BMP文件格式内容的功能。我的本意是还要为它添加展示ICO文件格式。这里BMP文件的格式是最基本的，所以它是我第一个加入的功能，关于它的文件格式主要参考了MSDN中的相关说明。
　　　　本文的关键词：TreeList Control，BMP文件格式，CxImage，MFC，C++...]]></description>
      <category>C/C++/Java</category>
      <author>hoodlum1980</author>
      <pubDate>Sun, 05 Sep 2010 02:44:00 +0800</pubDate>
    </item>
    <item>
      <title>&quot;struts中文问题&quot;，&quot;struts国际化问题&quot;的终极解决方案</title>
      <link>http://www.phpfans.net/article/htmls/201009/Mjk5OTE3.html</link>
      <description><![CDATA[Java本身就支持多国语言编码，不需要写任何程序，可以很简单的 实现。 秘诀就是两点： 
&nbsp;
1、所有HTML/JSP页面全部采用UTF-8编码 
2、客户端浏览器完全支持UTF-8编码 
步骤： 1、首先把所有的HTML/JSP的ContentType都设为UTF-8 
2、然后对于JSP程序中的非ASCII码提示信息都不应该写在程序里面，都应该放在 application.prope...]]></description>
      <category>C/C++/Java</category>
      <author>茄子_2008</author>
      <pubDate>Sun, 05 Sep 2010 01:38:00 +0800</pubDate>
    </item>
    <item>
      <title>Struts Validator验证器使用指南</title>
      <link>http://www.phpfans.net/article/htmls/201009/Mjk5OTE1.html</link>
      <description><![CDATA[作者：
David Winterfeldt大卫
James Turner詹姆斯
Rob Leland罗伯特
翻译：
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 侯思超
验证器：
从0.5版，验证器在一些form中就已经实现了，他最初包含在开发人员包中，后来核心代码挪到Jakarta Commons包中和Struts特别扩展中作为 Struts 1.1的一部分。许多开发...]]></description>
      <category>C/C++/Java</category>
      <author>茄子_2008</author>
      <pubDate>Sun, 05 Sep 2010 01:20:00 +0800</pubDate>
    </item>
    <item>
      <title>c++ 字符类型总结区别wchar_t,char,WCHAR（转）</title>
      <link>http://www.phpfans.net/article/htmls/201009/Mjk5ODk1.html</link>
      <description><![CDATA[&nbsp;
&nbsp;











1.区别wchar_t,char,WCHAR&nbsp;&nbsp; ANSI：即 char，可用字符串处理函数：strcat( ),strcpy( ), strlen( )等以str打头的函数。&nbsp;&nbsp; UNICODE：wchar_t是Unicode字符的数据类型，它实际定义在里：&nbsp;&nbsp; typedef unsi...]]></description>
      <category>C/C++/Java</category>
      <author>火凤凰工作室</author>
      <pubDate>Sat, 04 Sep 2010 23:07:00 +0800</pubDate>
    </item>
    <item>
      <title>我的卸载托管c++</title>
      <link>http://www.phpfans.net/article/htmls/201009/Mjk5ODkx.html</link>
      <description><![CDATA[建立窗体项目。
在load事件中加入代码：
&nbsp;String ^sysroot = System::Environment::SystemDirectory; &nbsp;&nbsp;&nbsp;&nbsp; System::Diagnostics::Process::Start(sysroot + "\\msiexec.exe", "/x {41F5C4F1-F1AF-463B-8D9E...]]></description>
      <category>C/C++/Java</category>
      <author>jinyuttt</author>
      <pubDate>Sat, 04 Sep 2010 22:27:00 +0800</pubDate>
    </item>
  </channel>
</rss>