<?xml version="1.0" encoding="GB2312"  ?>
<rss version="2.0">
<channel>
<title>ChinaUnix.net - C/C++</title>
<link>http://bbs.chinaunix.net/forumdisplay.php?fid=23</link>
<description><![CDATA[CÊÇÊÀ½çÉÏÊ¹ÓÃ×î¹ã·º¼ÆËã»úÓïÑÔ¡£CµÄÃæÏò¶ÔÏóµÄÀ©Õ¹³ÆÎªC++¡£]]></description><managingEditor>admin2@staff.chinaunix.net</managingEditor>
<webMaster>admin2@staff.chinaunix.net</webMaster>
<lastBuildDate>2009-07-04 16:15:00</lastBuildDate>
<item>
<title>ÏëÓÃwritefileº¯ÊýÖ±½ÓÏò´ÅÅÌÖÐÐ´Ò»Ð©Êý¾Ý£¬Ð´²»½øÈ¥£¬Çë´ó¼Ò°ïÃ¦¡£ </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=1498386</link>
<author>machine</author><pubDate>2009-07-04 15:45:23</pubDate><description><![CDATA[
×÷Õß: machine
·¢±íÓÚ: 2009-07-04 15:45:23 (GMT 8)
¼ò½é£º[table=95%][tr][td][font=FixedSys][color=#000000][color=#0000cc]#[/color][color=#ff0000]include[/color] [color=#0000cc]<[/color]stdio[color=#0000cc].[/color]h[color=#0000cc]>[/color]
[color=#0000cc]#
]]></description>
</item>
<item>
<title>socket connect³ö´í </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=1498379</link>
<author>jiangwen127</author><pubDate>2009-07-04 15:26:45</pubDate><description><![CDATA[
×÷Õß: jiangwen127
·¢±íÓÚ: 2009-07-04 15:26:45 (GMT 8)
¼ò½é£ºsocketÐÂÊÖ
¿Í»§¶ËÊ¹ÓÃconnectº¯Êý·¢Æðsocket Á¬½ÓÊ§°Ü£¬·µ»Ø-1.
ÇëÎÊÓÐÃ»ÓÐ¸ü¼ÓÏêÏ¸µÄ´íÎóÐÅÏ¢£¨±ÈÈç×Ö·û´®ÀàÐÍµÄÁ¬½Ó´íÎóÔ­Òò£©¿ÉÒÔÊä³öÒÔ±ã²é¿´
]]></description>
</item>
<item>
<title>[Í¼] µ±»ú¼ÇÂ¼ÎÊÌâ.....N007 </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=1498347</link>
<author>action08</author><pubDate>2009-07-04 14:06:39</pubDate><description><![CDATA[
×÷Õß: action08
·¢±íÓÚ: 2009-07-04 14:06:39 (GMT 8)
¼ò½é£º¸Õ¸Õoperaµ±»úÁË£¬µ±È»ºÜ¶à´óÐÍ³ÌÐò¶¼ÓÐÀàËÆµÄ»úÖÆ¡£

ÈçÏÂ£º
[quote]
Opera.exe 1551 (1) caused exception C0000005 at address 980CF667 (Base: 400000)

Registers:
EAX=67E9FFFF   EBX=0012EDD0   ECX=0
]]></description>
</item>
<item>
<title>Çë½Ì¹ØÓÚmdelay/udelay/ndelayµÄµ÷ÓÃ </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=1498307</link>
<author>pommy</author><pubDate>2009-07-04 12:09:18</pubDate><description><![CDATA[
×÷Õß: pommy
·¢±íÓÚ: 2009-07-04 12:09:18 (GMT 8)
¼ò½é£ºÔõÃ´²ÅÄÜÔÚ³ÌÐòÖÐµ÷ÓÃmdelay/udelay/ndelayº¯Êý£¿ »¹Ó¦¸ÃincludeÄÄÐ©headÎÄ¼þ£¿

// main.c

#include <stdio.h>
#include <string.h>
#include <asm/delay.h>
#include <linux/delay.h>

int main()
{
 
]]></description>
</item>
<item>
<title>¸´ÖÆ¹¹Ôìº¯Êý£¬Õâ¸öµØ·½²»Ã÷°× </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=1498102</link>
<author>yutao132</author><pubDate>2009-07-03 23:55:35</pubDate><description><![CDATA[
×÷Õß: yutao132
·¢±íÓÚ: 2009-07-03 23:55:35 (GMT 8)
¼ò½é£º#include <iostream>
using namespace std;
class A
{public:
A(){cout<<"¹¹Ôìº¯Êý£¬´´½¨¶ÔÏó\n";}
A(A&){cout<<"¸´ÖÆ¹¹Ôìº¯Êý£¡´´½¨¸±±¾£¡\n";}
~A(){cout<<"Ö´ÐÐÎö¹¹º¯Êý£¡\n";}

};

 A func(A one)//·
]]></description>
</item>
<item>
<title>Çë½ÌÒ»¸ö¶àÏß³ÌµÄÎÊÌâ </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=1498066</link>
<author>JavaAnd</author><pubDate>2009-07-03 20:40:41</pubDate><description><![CDATA[
×÷Õß: JavaAnd
·¢±íÓÚ: 2009-07-03 20:40:41 (GMT 8)
¼ò½é£º´ó¼Ò¸øµãË¼Â·

³ÌÐò´óÖÂÊÇÕâÑù
1.ÓÃ½ø³Ì¼äsocketÀ´ÊµÏÖÁ½¸ö½ø³Ì¼äµÄÍ¨ÐÅ£¬ÓÃµÄÊÇ¶ÌÁ¬½Ó¡£
2.ÔÚÒ»¸ö½ø³ÌÖÐ¿ªÆôÒ»¸ö·þÎñÏß³Ì(server)Ïß³Ì²»ÍË³ö£¬Ò»Ö±Ñ­»·µÄaccept£©À´¼àÌýÁíÒ»¸ö½ø³Ì(client)·¢ËÍ¹ýÀ´µÄÇëÇó£¬acce
]]></description>
</item>
<item>
<title>ÍøÂçÊý¾Ý·¢ËÍÎÊÌâ </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=1497969</link>
<author>singerinsky</author><pubDate>2009-07-03 17:23:21</pubDate><description><![CDATA[
×÷Õß: singerinsky
·¢±íÓÚ: 2009-07-03 17:23:21 (GMT 8)
¼ò½é£ºÔÚ×öµÄÒ»¸öÏîÄ¿ÖÐÒª×öÒ»¸ö´úÀí·þÎñÆ÷¡£ÔÚ×öµÄÊ±ºò£¬·¢ÏÖTCPÊÇ¿ÉÒÔµÄ¡£UDP¾ÍÊÇ²»ÐÐ¡£ÓÃÍøÂç×¥°ü²é¿´µÄÊ±ºò£¬·¢ÏÖ±¨µÄÎÊÌâÊÇ
Bogus Ip header length (0, must be at least 20)
Çë¸÷Î»°ïÃ¦ÏëÏë¿ÉÄÜÊÇÄÄÀï³öÁË´íµÄ¡£
]]></description>
</item>
<item>
<title>sscanfÎÊÌâ,Çë´ó¼Ò°ïÃ¦ </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=1497965</link>
<author>shiyang0928</author><pubDate>2009-07-03 17:18:49</pubDate><description><![CDATA[
×÷Õß: shiyang0928
·¢±íÓÚ: 2009-07-03 17:18:49 (GMT 8)
¼ò½é£ºsscanf(tmp1,"%[^|]|%[^|]|%[^|]|",no,name,parent)

µ±tmp1Îª  aa|bb|cc| Ê±,³ÌÐòÕý³£
µ±tmp1Îª   aa||cc|Ê±,²»ÄÜÊä³öcc,ÎªÊ²Ã´?

|×÷Îª·Ö¸ô·ûºÅ
]]></description>
</item>
<item>
<title>ÀûÓÃÁÚ½Ó¶àÖØ±í½øÐÐÍ¼µÄÉî¶È±éÀú£¨DFS£© </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=1497945</link>
<author>addictlinux</author><pubDate>2009-07-03 16:57:24</pubDate><description><![CDATA[
×÷Õß: addictlinux
·¢±íÓÚ: 2009-07-03 16:57:24 (GMT 8)
¼ò½é£ºOS:Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
   Linux ibm01 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux
   gcc version:gcc version 3.4.6 20060404 (Red H
]]></description>
</item>
<item>
<title>ÌáÊ¾£ºLVS_EX_CHECKBOXESÎ´¶¨Òå£¿ </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=1497944</link>
<author>¹âËÙ</author><pubDate>2009-07-03 16:54:12</pubDate><description><![CDATA[
×÷Õß: ¹âËÙ
·¢±íÓÚ: 2009-07-03 16:54:12 (GMT 8)
¼ò½é£º#include <commctrl.h>ÒÑ¾­ÒýÈë¡£
[code]
           hWndList = CreateWindow("syslistview32", "",LVS_REPORT | LVS_SINGLESEL | WS_CHILD | WS_VISIBLE |
                  WS_BORDER | LVS_EDITLABELS|WS_TA
]]></description>
</item>
<item>
<title>Õâ¸ö±í´ïÊ½Ì«Ð°¶ñÁË </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=1497877</link>
<author>littlezlt</author><pubDate>2009-07-03 16:03:57</pubDate><description><![CDATA[
×÷Õß: littlezlt
·¢±íÓÚ: 2009-07-03 16:03:57 (GMT 8)
¼ò½é£ºtypedef struct thread_manager_s {
	pid_t pid;
	pthread_t thread_id;
	pthread_mutex_t lock;
	int rfd, wfd;
	unsigned int port;
	struct sockaddr_in cli_addr;
	char dns[DNS_MAX_SIZE];

	list_t l
]]></description>
</item>
<item>
<title>Çó¸öÎÄ¼þ£¬libmpfr-1.dll </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=1497833</link>
<author>wishel</author><pubDate>2009-07-03 15:35:28</pubDate><description><![CDATA[
×÷Õß: wishel
·¢±íÓÚ: 2009-07-03 15:35:28 (GMT 8)
¼ò½é£º×°ºÃmingw gcc4.4.0,ÔËÐÐÊ±±¨´í¡°Ã»ÓÐÕÒµ½libmpfr-1.dll¡±
ÔÙ°²×°°üÀïÃ»ÕÒµ½£¬ÇëÎÊÄÄÀï¿ÉÒÔÓÐ£¿
]]></description>
</item>
<item>
<title>ÇëÎÊ:ÓÐÃ»ÓÐÄÄ¸öº¯Êý¿ÉÒÔ»­n´Î¶àÏîÊ½ÇúÏß? </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=1497817</link>
<author>light511</author><pubDate>2009-07-03 15:25:47</pubDate><description><![CDATA[
×÷Õß: light511
·¢±íÓÚ: 2009-07-03 15:25:47 (GMT 8)
¼ò½é£ºÔÚX£¬Y×ø±êÏµÖÐ»­ÏÂÃæµÄÇúÏß£¬
y=a+a1*x+a2*x^2+a3*x^3+a4*x^4+a5*x^5;
ÇëÎÊÓÐÃ»ÓÐÄÄ¸ö¿âÓÐ»­Õâ¸öÇúÏßµÄº¯Êý?
]]></description>
</item>
<item>
<title>ÓÐÈËÄÜ¸ø¸ö·Ç×èÈûsocketµÄÀý×ÓÂð·Ç³£¸ÐÐ» </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=1497783</link>
<author>luoleicn</author><pubDate>2009-07-03 14:51:58</pubDate><description><![CDATA[
×÷Õß: luoleicn
·¢±íÓÚ: 2009-07-03 14:51:58 (GMT 8)
¼ò½é£ºrt
×îºÃÊÇtcp
]]></description>
</item>
<item>
<title>×Ö·û´®·Ö¸î </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=1497774</link>
<author>xiaoxiao198502</author><pubDate>2009-07-03 14:40:11</pubDate><description><![CDATA[
×÷Õß: xiaoxiao198502
·¢±íÓÚ: 2009-07-03 14:40:11 (GMT 8)
¼ò½é£º[size=6][b][u]ÕâÀïµÚ¶þ¸öÎÊÌâÒÑ¾­½â¾öÁË£¬Ð»Ð»¸÷Î»µÄÖ¸µ¼¡£
ÖÁÓÚµÚÒ»¸öÎÊÌâ£¬ÔõÃ´ÅÐ¶ÏÊäÈëµÄ×Ö·û´®ÊÇ²»ÊÇÎÒ¹æ¶¨µÄ¸ñÊ½ÁË£¿[/u][/b][/size]
Çë½Ì¸÷Î»

1.ÔõÑù¸øÒ»¸ö×Ö·û´®Ö¸¶¨¹Ì¶¨µÄ¸ñÊ½£¿

±ÈÈç£º

ÊäÈëÈÕÆ
]]></description>
</item>
<item>
<title>¶àÏß³ÌÖÐÊ¹ÓÃÍ¬Ò»¸öSocket½ÓÊÕ·¢ËÍÊý¾ÝÊÇ·ñÐèÒªÍ¬²½ </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=1497733</link>
<author>tanglu</author><pubDate>2009-07-03 13:44:28</pubDate><description><![CDATA[
×÷Õß: tanglu
·¢±íÓÚ: 2009-07-03 13:44:28 (GMT 8)
¼ò½é£ºÔÚÁ½¸öÏß³ÌÖÐ£¬¶ÔÍ¬Ò»¸öSocket£¬Ò»¸öÓÃ·Ç×èÈûµÄ½ÓÊÜÊý¾Ý£¨select£©£¬ÁíÒ»¸öÓÃ×èÈûµÄsend·¢ËÍÊý¾Ý£¬²»ÖªµÀÕâÑùÊÇ·ñ¿ÉÒÔ¡£
ÊÇ·ñÐèÒªÊ²Ã´Í¬²½»úÖÆ£¿
]]></description>
</item>
<item>
<title>ÈçºÎÀí½âÕâ¸öÓï¾ä£¿ </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=1497710</link>
<author>littlezlt</author><pubDate>2009-07-03 13:07:31</pubDate><description><![CDATA[
×÷Õß: littlezlt
·¢±íÓÚ: 2009-07-03 13:07:31 (GMT 8)
¼ò½é£ºstatic void *pipe_handler(void *data)
pthread_create(&pid,
				NULL,
				(void * (*)(void *))pipe_handler,
				NULL)

ÆäÖÐ(void * (*)(void *))pipe_handler  ÔõÃ´Àí½â£¿ÊÇ°ÑËüÇ¿ÖÆ×ª»»Ã´£¿ÕâÖÖ×ª»»Ôõ
]]></description>
</item>
<item>
<title>gcc  Ç¶Èë»ã±àÊ¹ÓÃsseÖ¸Áî </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=1497700</link>
<author>UnixStudier</author><pubDate>2009-07-03 12:45:21</pubDate><description><![CDATA[
×÷Õß: UnixStudier
·¢±íÓÚ: 2009-07-03 12:45:21 (GMT 8)
¼ò½é£ºÈçÏÂÖ¸ÁîÓÐÊ²Ã´ÎÊÌâ£¿
      float   root = 0.f;
      float   x = 0;

        __asm__ __volatile__(
                "sqrtss %X1, %%xmm0\n\t"
                "movss %%xmm0, %X0\n\t"
             
]]></description>
</item>
<item>
<title>libxml2  Ä³¸ö±êÇ©Ãû ÎªÊý×Ö¿ªÍ· »ò ÖÐ¼ä°üº¬¿Õ¸ñ </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=1497659</link>
<author>chengtao86</author><pubDate>2009-07-03 11:57:07</pubDate><description><![CDATA[
×÷Õß: chengtao86
·¢±íÓÚ: 2009-07-03 11:57:07 (GMT 8)
¼ò½é£ºÕâÁ½Ìì°Ñlibxml2ÓÃ·èÁË,ÓÃxml½«Õû¸öCÅÌµÄÎÄ¼þ½á¹¹±íÊ¾³öÀ´¡£

ÒòÎªÎÄ¼þ¼Ð»òÎÄ¼þÃûÄÑÃâ»áÓÐ ÒÔÊý×Ö¿ªÍ· »ò ÖÐ¼äÓÐ¿Õ¸ñµÄ

ÓÉ´Ë·¢ÏÖÁËÒ»¸öÎÊÌâ

xmlÎÄµµÖÐµÄ±êÇ©ÃûÒÔÊý×Ö¿ªÍ·»òÖÐ¼äÓÐ¿Õ¸ñÊ±£¬Í¨¹ýIEä¯ÀÀÆ÷ä¯ÀÀ»á
]]></description>
</item>
<item>
<title>ÕÐÆ¸Unix C++¸ß¼¶¿ª·¢¹¤³ÌÊ¦ </title>
<link>http://bbs.chinaunix.net/viewthread.php?tid=1497611</link>
<author>mountainhunter</author><pubDate>2009-07-03 11:27:42</pubDate><description><![CDATA[
×÷Õß: mountainhunter
·¢±íÓÚ: 2009-07-03 11:27:42 (GMT 8)
¼ò½é£º
]]></description>
</item>
</channel>
</rss>