<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>JAVA/C/C++ - 问答吧</title>
    <link>http://ask.phpfans.net</link>
    <description>PHP爱好者,新闻,论坛,问答吧,文档,手册,下载,博客</description>
    <copyright>Copyright(C) PHPfans</copyright>
    <lastBuildDate>Fri, 10 Sep 2010 19:43:09 +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>缺少这个文件atomic.h，怎么搞的</title>
      <link>http://www.phpfans.net/ask/htmls/201009/MTAxNjM1OA.html</link>
      <description><![CDATA[缺少这个文件atomic.h，怎么搞的]]></description>
      <category>7</category>
      <author>zhw_yihui</author>
      <pubDate>Fri, 10 Sep 2010 17:58:00 +0800</pubDate>
    </item>
    <item>
      <title>关于单例模式，欢迎讨论。</title>
      <link>http://www.phpfans.net/ask/htmls/201009/MTAxNjMxMA.html</link>
      <description><![CDATA[关于单例模式 大家有什么见解

我现在又一个见解
就是单例模式可以将类变成一个全局的了。

不用到处传指针；
需要这个类时候，SearchConfig::Instance()-&gt;一下就好了。

大家还有撒观点？]]></description>
      <category>7</category>
      <author>ccnuliu</author>
      <pubDate>Fri, 10 Sep 2010 17:19:00 +0800</pubDate>
    </item>
    <item>
      <title>关于结构体的转换？</title>
      <link>http://www.phpfans.net/ask/htmls/201009/MTAxNTk5MQ.html</link>
      <description><![CDATA[结构体指针到结构体指针的转换，结构体指针到char *或字符数组的转换，char *或者字符数组到结构体指针的转换。
有没有人来说说，还有转换后的对齐问题？
有参考资料吗？]]></description>
      <category>7</category>
      <author>ecjtubaowp</author>
      <pubDate>Fri, 10 Sep 2010 15:40:00 +0800</pubDate>
    </item>
    <item>
      <title>rev 返回为0，数据接收却正确</title>
      <link>http://www.phpfans.net/ask/htmls/201009/MTAxNTk2MQ.html</link>
      <description><![CDATA[ 本帖最后由 faye_cb 于 2010-09-10 16:42 编辑 

各位，

&nbsp; &nbsp;&nbsp; &nbsp;本人刚刚学习socket编程，使用tcp方式发送结构体，每次判断recv返回都为0，但是，可以正常接收结构体内容，不知道各位大侠知道原因吗？]]></description>
      <category>7</category>
      <author>faye_cb</author>
      <pubDate>Fri, 10 Sep 2010 15:19:00 +0800</pubDate>
    </item>
    <item>
      <title>关于automake工具的使用：使用了第三方的库和头文件，怎样写makefile.am文件</title>
      <link>http://www.phpfans.net/ask/htmls/201009/MTAxNTgxMA.html</link>
      <description><![CDATA[另外怎么在终端里运行程序，administrator@ubuntu:~/cpp/addfile/bin/Debug$ lsaddfileadministrator@ubuntu:~/cpp/addfile/bin/Debug$ addfileaddfile：找不到命令administrator@ubuntu:~/cpp/addfile/bin/Debug$ addfile.exeaddfile.e...]]></description>
      <category>7</category>
      <author>yurec</author>
      <pubDate>Fri, 10 Sep 2010 14:56:00 +0800</pubDate>
    </item>
    <item>
      <title>赋值的错误，大部分时候没有，偶尔会出现错误</title>
      <link>http://www.phpfans.net/ask/htmls/201009/MTAxNTg2OA.html</link>
      <description><![CDATA[printf(&quot;临时数据:%s\n&quot;,(char*)&amp;tmp_xy);printf(&quot;存储一个临时数据\n&quot;);memset(arg-&gt;connfds[i][3],0,100);strcpy(arg-&gt;connfds[i][3],(char*)&amp;tmp_xy);printf(&quot;标签1\n&quot;);复制代码执...]]></description>
      <category>7</category>
      <author>jd808</author>
      <pubDate>Fri, 10 Sep 2010 11:47:00 +0800</pubDate>
    </item>
    <item>
      <title>北京瑞星信息技术有限公司诚聘linux应用开发工程师</title>
      <link>http://www.phpfans.net/ask/htmls/201009/MTAxNTg1OQ.html</link>
      <description><![CDATA[ 本帖最后由 jazy333 于 2010-09-10 11:25 编辑 

职位描述/要求：
工作内容：
1、Linux应用开发
2、Linux相关产品维护
3、新技术调研

任职资格：
1、精通C/C++，熟悉网络编程
2、熟悉linux下常用的开发工具（gcc,gdb）
3、熟悉linux系统常用命令
4、熟悉数据结构和常用算法；
5、计算机相关本科及以上，硕士优先，有...]]></description>
      <category>7</category>
      <author>jazy333</author>
      <pubDate>Fri, 10 Sep 2010 11:05:00 +0800</pubDate>
    </item>
    <item>
      <title>我以前做X的，有问题问ailantian吧，不过他比较忙。</title>
      <link>http://www.phpfans.net/ask/htmls/201009/MTAxNTg1Ng.html</link>
      <description><![CDATA[我也没时间搭理你。找个顾问吧，顾得上就问问。]]></description>
      <category>7</category>
      <author>prolj</author>
      <pubDate>Fri, 10 Sep 2010 10:51:00 +0800</pubDate>
    </item>
    <item>
      <title>请喜欢研究算法的朋友给点意见，谢谢</title>
      <link>http://www.phpfans.net/ask/htmls/201009/MTAxNTA5MA.html</link>
      <description><![CDATA[用什么算法，能够得到这样的结果!

输入16进制&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;输出16进制
000000000000&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;77359400
000000000001&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;77459400
00000000...]]></description>
      <category>7</category>
      <author>swallowcn</author>
      <pubDate>Fri, 10 Sep 2010 10:40:00 +0800</pubDate>
    </item>
    <item>
      <title>对算法有研究的朋友，请进来指点一下，多谢!</title>
      <link>http://www.phpfans.net/ask/htmls/201009/MTAxNTA4Nw.html</link>
      <description><![CDATA[用什么算法，能够得到这样的结果!

输入16进制&nbsp; &nbsp; &nbsp; &nbsp; 输出16进制
000000000000&nbsp; &nbsp; &nbsp; &nbsp; 77359400
000000000001&nbsp; &nbsp; &nbsp; &nbsp; 77459400
000000000080&nbsp; &nbsp; &nbsp; &nbsp...]]></description>
      <category>7</category>
      <author>swallowcn</author>
      <pubDate>Fri, 10 Sep 2010 10:39:00 +0800</pubDate>
    </item>
    <item>
      <title>大家了解交叉编译吗？一般用在哪？</title>
      <link>http://www.phpfans.net/ask/htmls/201009/MTAxNTA1Mw.html</link>
      <description><![CDATA[RT，这个交叉编译什么时候用，我貌似用不到。]]></description>
      <category>7</category>
      <author>ecjtubaowp</author>
      <pubDate>Fri, 10 Sep 2010 09:57:00 +0800</pubDate>
    </item>
    <item>
      <title>大家帮推荐本数据库的书吧</title>
      <link>http://www.phpfans.net/ask/htmls/201009/MTAxNTA0Nw.html</link>
      <description><![CDATA[本人学c编程，但是对数据库一窍不通。老大让写通讯程序，需要代码读写数据库。接口以及该怎么用数据库根本没概念啊，要开始学习了。大家说看什么书好点呢？推荐下吧，多谢。<img src="images/smilies/default/icon_biggrin.gif" smilieid="28" border="0" alt="" />]]></description>
      <category>7</category>
      <author>robin254817</author>
      <pubDate>Fri, 10 Sep 2010 09:53:00 +0800</pubDate>
    </item>
    <item>
      <title>结构体对其问题</title>
      <link>http://www.phpfans.net/ask/htmls/201009/MTAxNTAzMg.html</link>
      <description><![CDATA[typedef struct om_cmd_para{
&nbsp; &nbsp; &nbsp; &nbsp; struct list_head list;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; UINT32 ...]]></description>
      <category>7</category>
      <author>pengjianbokobe</author>
      <pubDate>Fri, 10 Sep 2010 09:31:00 +0800</pubDate>
    </item>
    <item>
      <title>多叉树一般采用什么方式来实现</title>
      <link>http://www.phpfans.net/ask/htmls/201009/MTAxNDk5OA.html</link>
      <description><![CDATA[在解析SNMP的MIB文件时，需要构建一个树来保存解析出的节点，这样需要实现一个树。
以前没写过这个东西，找了本数据结构的书，里边也只有二叉树的。
想请教一下各位兄弟，给个思路。]]></description>
      <category>7</category>
      <author>avcodec</author>
      <pubDate>Fri, 10 Sep 2010 08:51:00 +0800</pubDate>
    </item>
    <item>
      <title>学习Essential C++例题时遇到的问题</title>
      <link>http://www.phpfans.net/ask/htmls/201009/MTAxNDk3Mg.html</link>
      <description><![CDATA[ 本帖最后由 showboy 于 2010-09-10 05:18 编辑 

Essential C++这本书估计大家都知道吧,不知道的可以看这里
http://book.douban.com/subject/1215826/

在练习题2.5和2.6中遇到一问题,不求甚解,请指教,谢谢

编译环境是Code::Block 8.02
其自带的GCC为 gcc-g++-3.4.5-200...]]></description>
      <category>7</category>
      <author>showboy</author>
      <pubDate>Fri, 10 Sep 2010 03:22:00 +0800</pubDate>
    </item>
    <item>
      <title>[C求助]弱弱地问下,指针free之后,不可以赋个NULL给它?</title>
      <link>http://www.phpfans.net/ask/htmls/201009/MTAxNDk2Nw.html</link>
      <description><![CDATA[一个很菜的问题,
我把指针free之后,赋个NULL值给它,编译没警告,运行到该句时提示段错误,什么原因呢?
要是不允许给指针赋NULL值,为什么编译的时候没有任何警告呢?]]></description>
      <category>7</category>
      <author>叶叶叶Yeah</author>
      <pubDate>Fri, 10 Sep 2010 00:44:00 +0800</pubDate>
    </item>
    <item>
      <title>终于找到了，关于X的两本书</title>
      <link>http://www.phpfans.net/ask/htmls/201009/MTAxNDc0MA.html</link>
      <description><![CDATA[以前好像有人求过，不知道有没有下文。

《X Window System Protocol》
《Xlib &#8722; C Language X Interface》





<img src="images/attachicons/pdf.gif" border="0" class="absmiddle" alt="" /> XLIB.pdf (1.16 MB)


下载次数: 10

2010-09-09 22:43






<img src="images/attachicons/pdf.gif" border="0" class="absmiddle" alt="" /> X-protocol.pdf (327.31 KB)


下...]]></description>
      <category>7</category>
      <author>tempname2</author>
      <pubDate>Thu, 09 Sep 2010 22:45:00 +0800</pubDate>
    </item>
    <item>
      <title>有研究soa的同学吗</title>
      <link>http://www.phpfans.net/ask/htmls/201009/MTAxNTQ1MQ.html</link>
      <description><![CDATA[有研究soa的同学吗
最近看了些esb的资料对esb很想了解一下，有这方面做过项目的同学吗，交流一下经验：）]]></description>
      <category>7</category>
      <author>surpass_li</author>
      <pubDate>Thu, 09 Sep 2010 22:06:00 +0800</pubDate>
    </item>
    <item>
      <title>结构体中数组的访问，为什么不越界</title>
      <link>http://www.phpfans.net/ask/htmls/201009/MTAxNDcwNQ.html</link>
      <description><![CDATA[truct test {
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;int n;
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;int a[1];
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;int b;
&nbsp; &nbsp;&nbsp;&nbsp;};

&nbsp; &nbs...]]></description>
      <category>7</category>
      <author>yunyue520</author>
      <pubDate>Thu, 09 Sep 2010 21:37:00 +0800</pubDate>
    </item>
    <item>
      <title>借问个中断的问题</title>
      <link>http://www.phpfans.net/ask/htmls/201009/MTAxNDE4NA.html</link>
      <description><![CDATA[我现在在一个中断处理函数中屏蔽掉这个中断，结果崩掉了
static irqreturn_t xxx_irq_handle(int irq, void *dev_id)
{
&nbsp; &nbsp; disable_irq(irq);
&nbsp; &nbsp; queue_work(xxx,xxx);
}

去掉disable_irq

出错消息Pid: 1, comm:&nb...]]></description>
      <category>7</category>
      <author>xxw19840406</author>
      <pubDate>Thu, 09 Sep 2010 20:37:00 +0800</pubDate>
    </item>
  </channel>
</rss>