<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>WEO華特艾斯聯盟 - C &amp; C + +空間</title>
    <link>https://weohq.com/bbs/forum-56-1.html</link>
    <description>Latest 20 threads of C &amp; C + +空間</description>
    <copyright>Copyright(C) WEO華特艾斯聯盟</copyright>
    <generator>Discuz! Board by Discuz! Team</generator>
    <lastBuildDate>Wed, 29 Jul 2026 15:59:51 +0000</lastBuildDate>
    <ttl>120</ttl>
    <image>
      <url>https://weohq.com/bbs/static/image/common/logo_88_31.gif</url>
      <title>WEO華特艾斯聯盟</title>
      <link>https://weohq.com/bbs/</link>
    </image>
    <item>
      <title>使用Windows mutex 與semaphore 練習有限緩衝區問題</title>
      <link>https://weohq.com/bbs/thread-274-1-1.html</link>
      <description><![CDATA[**** 本內容被作者隱藏 ****

輸出結果
+:1 0 0 0 0
-:0 0 0 0 0
+:1 0 0 0 0
-:0 0 0 0 0
+:1 0 0 0 0
-:0 0 0 0 0
+:1 0 0 0 0
+:1 1 0 0 0
-:1 0 0 0 0
+:1 1 0 0 0
+:1 1 1 0 0
-:1 1 0 0 0
+:1 1 1 0 0
-:1 1 0 0 0
+:1 1 1 0 0
+:1 1 1 1 0
+:1 1 1 1 1
-:1 1]]></description>
      <category>C &amp; C + +空間</category>
      <author>NeoYang</author>
      <pubDate>Tue, 09 Jun 2009 18:23:12 +0000</pubDate>
    </item>
    <item>
      <title>使用Windows mutex 與 semaphore 解決Sleeping-Barber問題</title>
      <link>https://weohq.com/bbs/thread-273-1-1.html</link>
      <description><![CDATA[**** 本內容被作者隱藏 ****
輸出結果
Customer waits: seat = 2
Barber cutting: seat = 3
Customer waits: seat = 2
Barber cutting: seat = 3
Customer waits: seat = 2
Barber cutting: seat = 3
Customer waits: seat = 2
Barber cutting: seat = 3
Customer waits ...]]></description>
      <category>C &amp; C + +空間</category>
      <author>NeoYang</author>
      <pubDate>Tue, 09 Jun 2009 17:48:02 +0000</pubDate>
    </item>
    <item>
      <title>使用Windows thread 設計多執行緒 Quick sort</title>
      <link>https://weohq.com/bbs/thread-272-1-1.html</link>
      <description><![CDATA[**** 本內容被作者隱藏 ****原數列:
41 67 34 0 69 24 78 58 62 64 5 45 81 27 61 91 95 42 27 36

排序後:
0 5 24 27 27 34 36 41 42 45 58 61 62 64 67 69 78 81 91 95]]></description>
      <category>C &amp; C + +空間</category>
      <author>NeoYang</author>
      <pubDate>Tue, 09 Jun 2009 17:46:41 +0000</pubDate>
    </item>
    <item>
      <title>CreateThread</title>
      <link>https://weohq.com/bbs/thread-268-1-1.html</link>
      <description><![CDATA[Windows 的基本 API 只要含入  即可__in 代表輸入參數
__out 代表輸出參數 (就是有可能在函式內被修改, 呼叫前後值有可能會改變的參數)

這個函式的最簡單用法是: 

CreateThread(NULL, 0, pfnThread, (LPVOID)lpParam, 0 NULL);

也就是只指定第三跟第四個參數, 第三個 ...]]></description>
      <category>C &amp; C + +空間</category>
      <author>NeoYang</author>
      <pubDate>Thu, 04 Jun 2009 07:44:56 +0000</pubDate>
    </item>
    <item>
      <title>快速排序法</title>
      <link>https://weohq.com/bbs/thread-267-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>C &amp; C + +空間</category>
      <author>NeoYang</author>
      <pubDate>Thu, 04 Jun 2009 07:37:35 +0000</pubDate>
    </item>
    <item>
      <title>猜數字(?A?B)</title>
      <link>https://weohq.com/bbs/thread-170-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>C &amp; C + +空間</category>
      <author>NeoYang</author>
      <pubDate>Fri, 15 Jun 2007 03:41:58 +0000</pubDate>
    </item>
    <item>
      <title>猜猜我猜猜</title>
      <link>https://weohq.com/bbs/thread-169-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>C &amp; C + +空間</category>
      <author>ji394hebe</author>
      <pubDate>Fri, 15 Jun 2007 03:36:36 +0000</pubDate>
    </item>
    <item>
      <title>猜數字</title>
      <link>https://weohq.com/bbs/thread-168-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>C &amp; C + +空間</category>
      <author>0py0</author>
      <pubDate>Fri, 15 Jun 2007 03:15:58 +0000</pubDate>
    </item>
    <item>
      <title>...................</title>
      <link>https://weohq.com/bbs/thread-167-1-1.html</link>
      <description><![CDATA[#include
using namespace std;
struct person{
                int age ;
                float weight,height;
                char bloodtype;
              };
              
         person Mary;
            
    int main()
    {
        coutMar]]></description>
      <category>C &amp; C + +空間</category>
      <author>ji394hebe</author>
      <pubDate>Fri, 15 Jun 2007 03:00:20 +0000</pubDate>
    </item>
    <item>
      <title>動態記憶體 列陣求總和</title>
      <link>https://weohq.com/bbs/thread-163-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>C &amp; C + +空間</category>
      <author>NeoYang</author>
      <pubDate>Fri, 08 Jun 2007 03:23:52 +0000</pubDate>
    </item>
    <item>
      <title>陣列 最大小值</title>
      <link>https://weohq.com/bbs/thread-162-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>C &amp; C + +空間</category>
      <author>NeoYang</author>
      <pubDate>Fri, 08 Jun 2007 02:43:07 +0000</pubDate>
    </item>
    <item>
      <title>簡易數據交換</title>
      <link>https://weohq.com/bbs/thread-155-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>C &amp; C + +空間</category>
      <author>0py0</author>
      <pubDate>Fri, 01 Jun 2007 03:45:57 +0000</pubDate>
    </item>
    <item>
      <title>簡易字元陣列</title>
      <link>https://weohq.com/bbs/thread-154-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>C &amp; C + +空間</category>
      <author>0py0</author>
      <pubDate>Fri, 01 Jun 2007 02:57:31 +0000</pubDate>
    </item>
    <item>
      <title>簡易多維矩陣</title>
      <link>https://weohq.com/bbs/thread-153-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>C &amp; C + +空間</category>
      <author>NeoYang</author>
      <pubDate>Fri, 01 Jun 2007 02:25:47 +0000</pubDate>
    </item>
    <item>
      <title>簡單陣列</title>
      <link>https://weohq.com/bbs/thread-151-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>C &amp; C + +空間</category>
      <author>NeoYang</author>
      <pubDate>Fri, 25 May 2007 02:39:36 +0000</pubDate>
    </item>
    <item>
      <title>階層</title>
      <link>https://weohq.com/bbs/thread-149-1-1.html</link>
      <description><![CDATA[#include
using namespace std ; 
long double foct(int a) 
    {if(a==1)
            return 1;
            else return(a+foct(a-1));}
            int main()
            {
                int x;
                while(true){
]]></description>
      <category>C &amp; C + +空間</category>
      <author>palm0919</author>
      <pubDate>Fri, 18 May 2007 03:52:45 +0000</pubDate>
    </item>
    <item>
      <title>算正方體面積</title>
      <link>https://weohq.com/bbs/thread-148-1-1.html</link>
      <description><![CDATA[#include
using namespace std ; 
#define cube(x)   x*x*x
int main()
{int a;

couta;
cout]]></description>
      <category>C &amp; C + +空間</category>
      <author>palm0919</author>
      <pubDate>Fri, 18 May 2007 03:52:18 +0000</pubDate>
    </item>
    <item>
      <title>次方</title>
      <link>https://weohq.com/bbs/thread-147-1-1.html</link>
      <description><![CDATA[#include
using namespace std ; 
double pow(double x,double y);
 int  main()
{
cout]]></description>
      <category>C &amp; C + +空間</category>
      <author>palm0919</author>
      <pubDate>Fri, 18 May 2007 03:51:52 +0000</pubDate>
    </item>
    <item>
      <title>根號</title>
      <link>https://weohq.com/bbs/thread-146-1-1.html</link>
      <description><![CDATA[#include
using namespace std ; 
double sqrt(double x);
 int  main()
{
cout]]></description>
      <category>C &amp; C + +空間</category>
      <author>palm0919</author>
      <pubDate>Fri, 18 May 2007 03:51:20 +0000</pubDate>
    </item>
    <item>
      <title>輸入兩數 判斷大小</title>
      <link>https://weohq.com/bbs/thread-145-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>C &amp; C + +空間</category>
      <author>palm0919</author>
      <pubDate>Fri, 18 May 2007 03:50:17 +0000</pubDate>
    </item>
  </channel>
</rss>