<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
  <id>http://eric1300460.pixnet.net/blog</id>
  <title><![CDATA[狡兔三窟:: 痞客邦 PIXNET ::]]></title>
  <author>
    <name>eric1300460</name>
    <email>eric1300460@not-valid.com</email>
  </author>
  <updated>2009-11-30T17:11:00+08:00</updated>
  <published>2009-11-30T17:11:00+08:00</published>
  <link rel="self" href="http://eric1300460.pixnet.net/blog" hreflang="zh"/>
  <subtitle><![CDATA[努力向上研究嚕, 
尋找自己的腳步, 
永不放棄找出路, 
不對前方路迷途<br>
保持微笑面對任何事，只要不放棄，什麼事都是有可能做到的！]]></subtitle>
  <rights>Copyright 2003-2009 eric1300460,Pixnet Digital Media Coporation. All rights reserved.</rights>
  <generator>PIXNET Media Digital Coporation</generator>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://eric1300460.pixnet.net/blog/post/29164132</id>
    <title><![CDATA[當出現 XXXX() is private.  錯誤訊息解決方法(C/C++)]]></title>
    <updated>2009-11-30T17:11:00+08:00</updated>
    <link rel="alternate" href="http://eric1300460.pixnet.net/blog/post/29164132"/>
    <summary><![CDATA[這是因為你呼叫到一個私有函數或者變數所出現的錯誤訊息。
&nbsp;
例如:
class T{private:&nbsp; void print();public:
&nbsp; T();}
&nbsp;
當你呼叫 T 類別的 print()函數 就會出現錯誤，因為他是私有函數其他類別無法呼叫他。]]></summary>
    <content type="html"><![CDATA[<p>這是因為你呼叫到一個私有函數或者變數所出現的錯誤訊息。</p>
<p>&nbsp;</p>
<p>例如:</p>
<p>class T{<br />private:<br />&nbsp; void print();<br />public:</p>
<p>&nbsp; T();<br />}</p>
<p>&nbsp;</p>
<p>當你呼叫 T 類別的 print()函數 就會出現錯誤，因為他是私有函數其他類別無法呼叫他。</p>  <div class="more"><a href="http://eric1300460.pixnet.net/blog/post/29164132">(Read More...)</a></div>]]></content>
    <category term="C/C++"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://eric1300460.pixnet.net/blog/post/29164132#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://eric1300460.pixnet.net/blog/post/28634361</id>
    <title><![CDATA[Qt的繪圖元件，如何讓它更新畫面 [Qt]]]></title>
    <updated>2009-10-30T11:14:04+08:00</updated>
    <link rel="alternate" href="http://eric1300460.pixnet.net/blog/post/28634361"/>
    <summary><![CDATA[其實很簡單，例如你是要在QWidget上畫圖
就直接呼叫它的update()就可以嚕!]]></summary>
    <content type="html"><![CDATA[<p>其實很簡單，例如你是要在QWidget上畫圖</p>
<p>就直接呼叫它的update()就可以嚕!</p>  <div class="more"><a href="http://eric1300460.pixnet.net/blog/post/28634361">(Read More...)</a></div>]]></content>
    <category term="QT"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://eric1300460.pixnet.net/blog/post/28634361#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://eric1300460.pixnet.net/blog/post/28627548</id>
    <title><![CDATA[Orz! 編譯QT 出現 Undefined reference to 'vtable xxxxxxxxxx' [Qt]]]></title>
    <updated>2009-10-29T12:53:49+08:00</updated>
    <link rel="alternate" href="http://eric1300460.pixnet.net/blog/post/28627548"/>
    <summary><![CDATA[當我編譯QT 出現Undefined reference to 'vtable xxxxxxxxxx'&nbsp;&nbsp; 問題是我的virtual function都有實做呀?????
本人解決方法好像是.pro 出現問題，反正我就亂改一下就好了QQ"&nbsp; 
搞了N個小時，還是想不通，不過解決了。^^
&nbsp;
其他相關文章:
當編譯出現Undefined reference to 'vtable xxxxxxxxxx' 解決方法[C/C++]
&nbsp;]]></summary>
    <content type="html"><![CDATA[<p>當我編譯QT 出現Undefined reference to 'vtable xxxxxxxxxx'&nbsp;&nbsp; 問題是<br />我的virtual function都有實做呀?????</p>
<p>本人解決方法<br />好像是.pro 出現問題，反正我就亂改一下就好了QQ"&nbsp; </p>
<p>搞了N個小時，還是想不通，不過解決了。^^</p>
<p>&nbsp;</p>
<p>其他相關文章:</p>
<h2><a href="http://eric1300460.pixnet.net/blog/post/28180801">當編譯出現Undefined reference to 'vtable xxxxxxxxxx' 解決方法[C/C++]</a></h2>
<p>&nbsp;</p>  <div class="more"><a href="http://eric1300460.pixnet.net/blog/post/28627548">(Read More...)</a></div>]]></content>
    <category term="QT"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://eric1300460.pixnet.net/blog/post/28627548#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://eric1300460.pixnet.net/blog/post/28574289</id>
    <title><![CDATA[foo  的意思 [程式設計概念]]]></title>
    <updated>2009-10-26T10:25:19+08:00</updated>
    <link rel="alternate" href="http://eric1300460.pixnet.net/blog/post/28574289"/>
    <summary><![CDATA[簡單來說 就是沒意思.......
大概就是 定義的很隨便
另如有個function foo
其實這foo函數也只是隨便定義而已，並沒有太大意思....
&nbsp;
所以...&nbsp; 看到foo不需去想它意思了...&nbsp;&nbsp; 每次看程式都會看到同樣東西......@@]]></summary>
    <content type="html"><![CDATA[<p>簡單來說 就是沒意思.......</p>
<p>大概就是 定義的很隨便</p>
<p>另如有個function foo</p>
<p>其實這foo函數也只是隨便定義而已，並沒有太大意思....</p>
<p>&nbsp;</p>
<p>所以...&nbsp; 看到foo不需去想它意思了...&nbsp;&nbsp; 每次看程式都會看到同樣東西......@@</p>  <div class="more"><a href="http://eric1300460.pixnet.net/blog/post/28574289">(Read More...)</a></div>]]></content>
    <category term="程式設計觀念"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://eric1300460.pixnet.net/blog/post/28574289#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://eric1300460.pixnet.net/blog/post/28446268</id>
    <title><![CDATA[WS-BPEL 2.0 介紹(持續增加) [BPEL]]]></title>
    <updated>2009-10-23T10:18:28+08:00</updated>
    <link rel="alternate" href="http://eric1300460.pixnet.net/blog/post/28446268"/>
    <summary><![CDATA[前言
因為要報告所以開始研究相關知識。
Abstract
近年來Service-Oriented Architecture(SOA，服務導向架構)[1]越來越盛行，因此彼此網際服務(Web Services)之間要做溝通整合，就會發生困難性，因為彼此所用的開發語言並不相同，如果要做溝通就會產生困難性，因此後來發展出以XML為基礎的訊息格式、Web通訊協定(HTTP)、SOAP，來達到互通性，並且也解決不同平台溝通的問題，因此增加重複使用整合的介面，以便達成B2B之間能迅速整合已有的服務。
現在，雖然Web Service可以支援跨平台性，企業(Business)可以利用它整合企業所需的Service，但是還是不足夠的，因為它不具備商業邏輯特性，無法去描述企業彼此之間該如何去自動化互動整合成Business Process，因此要如何將一群Web Services整合起來，並且成為自動化的流程，能夠去定義有哪些Web Service參與、彼此之間的順序、以及彼此之間資料如何分享?最後種種的演進，產生出了Web Services Business Process Execution Language(WS-BPEL) 2.0規格，廣受企業使用。因此在這將介紹WS-BPEL內容。
一、Introduction
 

圖1.1 WS-BPEL Component[3]
一個WS-BPEL Component是由services, references, properties(variable) and implementation所構成，詳細介紹會在後面說明。
二、背景知識介紹
&nbsp;
&nbsp;
&nbsp;
&nbsp;
Conclusion
&nbsp;
Reference

[1] 服務導向架構(Service-Oriented Architecture，SOA) 簡介[2] 陳文鏘, "Design and Implementation of a Business Process-based Service Composition Engine", July 2003, pp. xx-xx[3] OASIS Service Component Architecture / BPEL (SCA-BPEL) TC




]]></summary>
    <content type="html"><![CDATA[<p>前言</p>
<p style="padding-left: 30px;">因為要報告所以開始研究相關知識。</p>
<p>Abstract</p>
<p style="text-align: left; padding-left: 30px;">近年來Service-Oriented Architecture(SOA，服務導向架構)<sub>[1]</sub>越來越盛行，因此彼此網際服務(Web Services)之間要做溝通整合，就會發生困難性，因為彼此所用的開發語言並不相同，如果要做溝通就會產生困難性，因此後來發展出以XML為基礎的訊息格式、Web通訊協定(HTTP)、SOAP，來達到互通性，並且也解決不同平台溝通的問題，因此增加重複使用整合的介面，以便達成B2B之間能迅速整合已有的服務。</p>
<p style="text-align: left; padding-left: 30px;">現在，雖然Web Service可以支援跨平台性，企業(Business)可以利用它整合企業所需的Service，但是還是不足夠的，因為它不具備商業邏輯特性，無法去描述企業彼此之間該如何去自動化互動整合成Business Process，因此要如何將一群Web Services整合起來，並且成為自動化的流程，能夠去定義有哪些Web Service參與、彼此之間的順序、以及彼此之間資料如何分享?最後種種的演進，產生出了Web Services Business Process Execution Language(WS-BPEL) 2.0規格，廣受企業使用。因此在這將介紹WS-BPEL內容。</p>
<p>一、Introduction</p>
<p style="padding-left: 30px;"><img src="file:///G:/Documents%20and%20Settings/eric1/%E6%A1%8C%E9%9D%A2/%E6%93%B7%E5%8F%96%E5%9C%96%E7%89%87/school_01%20Oct.%2023%2011.17.jpg" alt="" /> </p>
<p style="text-align: center;"><img title="WS-BPEL Component" src="http://pic.pimg.tw/eric1300460/4ae120c458fff.jpg" border="0" alt="WS-BPEL Component" /></p>
<p style="padding-left: 30px; text-align: center;">圖1.1 WS-BPEL Component<sub>[3]</sub></p>
<p style="padding-left: 30px; text-align: left;">一個WS-BPEL Component是由services, references, properties(variable) and implementation所構成，詳細介紹會在後面說明。</p>
<p>二、背景知識介紹</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Conclusion</p>
<p>&nbsp;</p>
<p>Reference</p>
<p>
[1] <a href="http://www.cc.ntu.edu.tw/chinese/epaper/20070620_1008.htm">服務導向架構(Service-Oriented Architecture，SOA) 簡介</a><br />[2] 陳文鏘, "Design and Implementation of a Business Process-based Service Composition Engine", July 2003, pp. xx-xx<br />[3] <a href="http://docs.oasis-open.org/opencsa/sca-bpel/sca-bpel-1.1-spec.pdf">OASIS Service Component Architecture / BPEL (SCA-BPEL) TC</a></p>
<ol>



</ol>  <div class="more"><a href="http://eric1300460.pixnet.net/blog/post/28446268">(Read More...)</a></div>]]></content>
    <category term="BPEL"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://eric1300460.pixnet.net/blog/post/28446268#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://eric1300460.pixnet.net/blog/post/28430775</id>
    <title><![CDATA[介紹QT的教學網站[QT]]]></title>
    <updated>2009-10-21T18:26:59+08:00</updated>
    <link rel="alternate" href="http://eric1300460.pixnet.net/blog/post/28430775"/>
    <summary><![CDATA[http://program-lover.blogspot.com/2008/08/qt.html]]></summary>
    <content type="html"><![CDATA[<p><a href="http://program-lover.blogspot.com/2008/08/qt.html">http://program-lover.blogspot.com/2008/08/qt.html</a></p>  <div class="more"><a href="http://eric1300460.pixnet.net/blog/post/28430775">(Read More...)</a></div>]]></content>
    <category term="QT"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://eric1300460.pixnet.net/blog/post/28430775#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://eric1300460.pixnet.net/blog/post/28430566</id>
    <title><![CDATA[Cppunit test case 要增加addTest(X)很煩 怎麼辦?解決方法[CppUnit]]]></title>
    <updated>2009-10-21T17:25:51+08:00</updated>
    <link rel="alternate" href="http://eric1300460.pixnet.net/blog/post/28430566"/>
    <summary><![CDATA[參考來源:http://squall.cs.ntou.edu.tw/cpp/91spring/CppUnitUsage.html
&nbsp;
平常你寫完一個testcase
再測試程式地方就要加入#include "ExampleTestCase.h"CppUnit::TextTestRunner runner; runner.addTest(ExampleTestCase::suite ()); runner.run(); 
如果覺得寫了N個TESTCASE 要寫N行include 跟 addTest 很煩的話 請參考以下方法 可以略過這2步驟
首先在ExampleTestCase.cpp 裡面加入
CPPUNIT_TEST_SUITE_REGISTRATION( ExampleTestCase); 然後執行測試裡面
runner.addTest改成
runner.addTest(CppUnit::TestFactoryRegistry::getRegistry().makeTest());這樣他就會自己去抓所有 繼承CPPUNIT_NS::TestFixture 的測試案例&nbsp;&nbsp; 
好用東西]]></summary>
    <content type="html"><![CDATA[<p>參考來源:<a href="http://squall.cs.ntou.edu.tw/cpp/91spring/CppUnitUsage.html">http://squall.cs.ntou.edu.tw/cpp/91spring/CppUnitUsage.html</a></p>
<p>&nbsp;</p>
<p>平常你寫完一個testcase</p>
<p>再測試程式地方就要加入<br /><br />#include "ExampleTestCase.h"<br /><br />CppUnit::TextTestRunner runner;<br /> runner.addTest(ExampleTestCase::suite ());<br /> runner.run(); </p>
<p>如果覺得寫了N個TESTCASE 要寫N行include 跟 addTest 很煩的話 請參考以下方法 可以略過這2步驟</p>
<p>首先在ExampleTestCase.cpp 裡面加入</p>
<p>CPPUNIT_TEST_SUITE_REGISTRATION( ExampleTestCase); <br /><br />然後執行測試裡面</p>
<p>runner.addTest改成</p>
<p>runner.addTest(CppUnit::TestFactoryRegistry::getRegistry().makeTest());<br /><br />這樣他就會自己去抓所有 繼承CPPUNIT_NS::TestFixture 的測試案例&nbsp;&nbsp; </p>
<p>好用東西</p>  <div class="more"><a href="http://eric1300460.pixnet.net/blog/post/28430566">(Read More...)</a></div>]]></content>
    <category term="CppUnit"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://eric1300460.pixnet.net/blog/post/28430566#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://eric1300460.pixnet.net/blog/post/28429059</id>
    <title><![CDATA[使用cppunit遇到一個很囧的問題[CppUnit]]]></title>
    <updated>2009-10-21T12:17:34+08:00</updated>
    <link rel="alternate" href="http://eric1300460.pixnet.net/blog/post/28429059"/>
    <summary><![CDATA[這可能有誤 因為有人說也是一樣，可是...&nbsp; 我原本是3.5 C++版&nbsp; 換成 3.4 JAVA 版可以用
&nbsp;
我使用MinGW去編譯cppunit去產生lib(libcppunit.a) 然後寫測試案例下去，編譯結果無法執行。
超怪的，範例是使用別人的範例！
因此後來我想想～～～
最後用JAVA Eclipse+CDT 就可以
原本是使用C++ Eclipse 結果不行....，哀哀!&nbsp; 如果再把CDT加入進去也沒用，一樣無法編譯...。
所以結論:請用JAVA Eclipse+CDT
&nbsp;
如果有人跟我一樣，恭喜，有人跟我一樣QQ"]]></summary>
    <content type="html"><![CDATA[<p><span style="background-color: #c0c0c0;"><span style="color: #ff0000;"><span style="font-size: 14pt;">這可能有誤</span></span></span> 因為有人說也是一樣，可是...&nbsp; 我原本是3.5 C++版&nbsp; 換成 3.4 JAVA 版可以用</p>
<p>&nbsp;</p>
<p>我使用MinGW去編譯cppunit去產生lib(libcppunit.a) 然後寫測試案例下去，編譯結果無法執行。</p>
<p>超怪的，範例是使用別人的範例！</p>
<p>因此後來我想想～～～</p>
<p>最後用JAVA Eclipse+CDT 就可以</p>
<p>原本是使用C++ Eclipse 結果不行....，哀哀!&nbsp; 如果再把CDT加入進去也沒用，一樣無法編譯...。</p>
<p>所以<strong><span style="color: #ff0000;"><span style="font-size: 14pt;"><span style="font-family: 標楷體;">結論:請用JAVA Eclipse+CDT</span></span></span></strong></p>
<p>&nbsp;</p>
<p>如果有人跟我一樣，恭喜，有人跟我一樣QQ"</p>  <div class="more"><a href="http://eric1300460.pixnet.net/blog/post/28429059">(Read More...)</a></div>]]></content>
    <category term="CppUnit"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://eric1300460.pixnet.net/blog/post/28429059#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://eric1300460.pixnet.net/blog/post/28423544</id>
    <title><![CDATA[JAVA procedure call 是使用call by name [JAVA]]]></title>
    <updated>2009-10-20T12:30:04+08:00</updated>
    <link rel="alternate" href="http://eric1300460.pixnet.net/blog/post/28423544"/>
    <summary><![CDATA[他跟call by value/reference 有些不同
因為JAVA沒有point，所以....
當不是CLASS的話，就是call by value
是class就是call by reference
&nbsp;
詳情參考:http://www.cs.nchu.edu.tw/~fileman/notepad/ch-15.htm
&nbsp;]]></summary>
    <content type="html"><![CDATA[<p>他跟call by value/reference 有些不同</p>
<p>因為JAVA沒有point，所以....</p>
<p>當不是CLASS的話，就是call by value</p>
<p>是class就是call by reference</p>
<p>&nbsp;</p>
<p>詳情參考:<a href="http://www.cs.nchu.edu.tw/~fileman/notepad/ch-15.htm">http://www.cs.nchu.edu.tw/~fileman/notepad/ch-15.htm</a></p>
<p>&nbsp;</p>  <div class="more"><a href="http://eric1300460.pixnet.net/blog/post/28423544">(Read More...)</a></div>]]></content>
    <category term="JAVA"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://eric1300460.pixnet.net/blog/post/28423544#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://eric1300460.pixnet.net/blog/post/28328892</id>
    <title><![CDATA[個人對Vistor pattern 解釋 (V2) [程式設計概念]]]></title>
    <updated>2009-10-09T13:28:55+08:00</updated>
    <link rel="alternate" href="http://eric1300460.pixnet.net/blog/post/28328892"/>
    <summary><![CDATA[V2
在V1版，會發生一些問題!因改成
就像有個人(A visitor做裝潢師) 在B class家外面，B開放(accept)A進來， B不須知道A是要來幹嘛，可是A確知道，應該在B家如何[裝潢] 專門為B房屋現在A要跑到D class家去A在D家外面，D開放(accept)A進來，D不須知道A是要來幹嘛，可是A確知道，應該在D家如何[裝潢] 專門為D房屋(C visitor做清潔工人)在B class家外面，B開放(accept)C進來， B不須知道C是要來幹嘛，可是C確知道，應該在B家如何[清潔] 專門為B房屋現在C要跑到D class家去(C清潔工人)在D家外面，D開放(accept)C進來， D不須知道C是要來幹嘛，可是C確知道，應該在D家如何[清潔] 專門為D房屋B and D class 不須準備各自裝潢function and 清潔function當讓A or C 進來，A和C 就會知道自己要在這裡幹嘛!
這樣更可以利用多型(Polymorphism)概念，但會破壞B 和 D CLASS 封裝，並且降低效率，因為visitor必須利用BD point 去操作他們，V1是直接用他們BD 的方法直接處理。
&nbsp;



V1
就像有個人(A visitor做裝潢師) 在B class家外面，B開放(accept)A進來， B不須知道A是要來幹嘛，可是A確知道，應該在B家如何[裝潢] 專門為B門屋現在A要跑到D class家去A在D家外面，D開放(accept)A進來，D不須知道A是要來幹嘛，可是A確知道，應該在D家如何[裝潢] 專門為D門屋(C visitor做清潔工人)在B class家外面，B開放(accept)C進來， B不須知道C是要來幹嘛，可是C確知道，應該在B家如何[清潔] 專門為B門屋現在C要跑到D class家去(C清潔工人)在D家外面，D開放(accept)C進來， D不須知道C是要來幹嘛，可是C確知道，應該在D家如何[清潔] 專門為D門屋B and D class 各有各自裝潢function and 清潔function當讓A or C 進來，他們就會去執行B and D 某個 function 為 A C準備
&nbsp;
亂七八糟...... ]]></summary>
    <content type="html"><![CDATA[<p><span style="color: #ff0000;"><span style="font-size: 14pt;"><span style="font-family: 標楷體;"><strong>V2</strong></span></span></span></p>
<p>在V1版，會發生一些問題!<br />因改成</p>
<p>就像有個人(A visitor做裝潢師) 在B class家外面，B開放(accept)A進來， B不須知道A是要來幹嘛，可是A確知道，應該在B家如何[裝潢] 專門為B房屋<br />現在A要跑到D class家去<br />A在D家外面，D開放(accept)A進來，D不須知道A是要來幹嘛，可是A確知道，應該在D家如何[裝潢] 專門為D房屋<br /><br /><br />(C visitor做清潔工人)在B class家外面，B開放(accept)C進來， B不須知道C是要來幹嘛，可是C確知道，應該在B家如何[清潔] 專門為B房屋<br />現在C要跑到D class家去<br />(C清潔工人)在D家外面，D開放(accept)C進來， D不須知道C是要來幹嘛，可是C確知道，應該在D家如何[清潔] 專門為D房屋<br /><span style="color: #ff0000;">B and D class <span style="background-color: #ccffff;"><strong>不須準備</strong></span>各自裝潢function and 清潔function<br />當讓A or C 進來，A和C 就會知道自己要在這裡幹嘛!</span></p>
<p>這樣更可以利用多型(Polymorphism)概念，但會破壞B 和 D CLASS 封裝，並且降低效率，因為visitor必須利用BD point 去操作他們，<br />V1是直接用他們BD 的方法直接處理。</p>
<p>&nbsp;</p>
<p>
<hr />
</p>
<p><span style="font-family: 標楷體;"><strong><span style="font-size: 14pt;"><span style="color: #ff0000;">V1</span></span></strong></span></p>
<p>就像有個人(A visitor做裝潢師) 在B class家外面，B開放(accept)A進來， B不須知道A是要來幹嘛，可是A確知道，應該在B家如何[裝潢] 專門為B門屋<br />現在A要跑到D class家去<br />A在D家外面，D開放(accept)A進來，D不須知道A是要來幹嘛，可是A確知道，應該在D家如何[裝潢] 專門為D門屋<br /><br /><br />(C visitor做清潔工人)在B class家外面，B開放(accept)C進來， B不須知道C是要來幹嘛，可是C確知道，應該在B家如何[清潔] 專門為B門屋<br />現在C要跑到D class家去<br />(C清潔工人)在D家外面，D開放(accept)C進來， D不須知道C是要來幹嘛，可是C確知道，應該在D家如何[清潔] 專門為D門屋<br /><br /><span style="color: #ff0000;">B and D class <span style="background-color: #ccffff;"><strong>各有各自裝潢</strong></span>function and 清潔function<br />當讓A or C 進來，他們就會去執行B and D 某個 function 為 A C準備</span></p>
<p>&nbsp;</p>
<p>亂七八糟...... </p>  <div class="more"><a href="http://eric1300460.pixnet.net/blog/post/28328892">(Read More...)</a></div>]]></content>
    <category term="程式設計觀念"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://eric1300460.pixnet.net/blog/post/28328892#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://eric1300460.pixnet.net/blog/post/28284468</id>
    <title><![CDATA[MVC架構講解網站[程式設計觀念]]]></title>
    <updated>2009-10-08T13:39:03+08:00</updated>
    <link rel="alternate" href="http://eric1300460.pixnet.net/blog/post/28284468"/>
    <summary><![CDATA[MVC架構在Asp.net中的應用和實現
http://www.cnblogs.com/xiaowy/archive/2006/06/22/432782.html]]></summary>
    <content type="html"><![CDATA[<p><strong style="font-size: 12pt;">MVC架構在Asp.net中的應用和實現</strong></p>
<p><a href="http://www.cnblogs.com/xiaowy/archive/2006/06/22/432782.html">http://www.cnblogs.com/xiaowy/archive/2006/06/22/432782.html</a></p>  <div class="more"><a href="http://eric1300460.pixnet.net/blog/post/28284468">(Read More...)</a></div>]]></content>
    <category term="程式設計觀念"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://eric1300460.pixnet.net/blog/post/28284468#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://eric1300460.pixnet.net/blog/post/28279724</id>
    <title><![CDATA[程式設計師 學習網站[網站介紹]]]></title>
    <updated>2009-10-07T17:35:51+08:00</updated>
    <link rel="alternate" href="http://eric1300460.pixnet.net/blog/post/28279724"/>
    <summary><![CDATA[說明:必看網站
良葛格學習筆記http://caterpillar.onlyfun.net/Gossip/]]></summary>
    <content type="html"><![CDATA[<p>說明:必看網站</p>
<p><a href="http://caterpillar.onlyfun.net/Gossip/">良葛格學習筆記<br />http://caterpillar.onlyfun.net/Gossip/</a></p>  <div class="more"><a href="http://eric1300460.pixnet.net/blog/post/28279724">(Read More...)</a></div>]]></content>
    <category term="網站介紹"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://eric1300460.pixnet.net/blog/post/28279724#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://eric1300460.pixnet.net/blog/post/28279578</id>
    <title><![CDATA[相關Design Patterns介紹[網站介紹]]]></title>
    <updated>2009-10-07T17:06:26+08:00</updated>
    <link rel="alternate" href="http://eric1300460.pixnet.net/blog/post/28279578"/>
    <summary><![CDATA[First we try, then we trust - 博客園
&nbsp;
http://www.cnblogs.com/zhenyulu/category/6930.html?Show=All
上面網址有他寫的說明。]]></summary>
    <content type="html"><![CDATA[<h1><a id="Header1_HeaderTitle" href="http://www.cnblogs.com/zhenyulu/">First we try, then we trust - 博客園<br /></a></h1>
<p>&nbsp;</p>
<p><a href="http://www.cnblogs.com/zhenyulu/category/6930.html?Show=All">http://www.cnblogs.com/zhenyulu/category/6930.html?Show=All</a></p>
<p>上面網址有他寫的說明。</p>  <div class="more"><a href="http://eric1300460.pixnet.net/blog/post/28279578">(Read More...)</a></div>]]></content>
    <category term="網站介紹"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://eric1300460.pixnet.net/blog/post/28279578#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://eric1300460.pixnet.net/blog/post/28180801</id>
    <title><![CDATA[當編譯出現Undefined reference to 'vtable xxxxxxxxxx' 解決方法[C/C++]]]></title>
    <updated>2009-09-30T16:53:21+08:00</updated>
    <link rel="alternate" href="http://eric1300460.pixnet.net/blog/post/28180801"/>
    <summary><![CDATA[其實這是因為你的virtual function忘了實做。&nbsp; 它錯誤訊息會跟你講是在哪一個CLASS忘了實做。
例如:
class c1 有2個virtual function
然後c2 繼承 c1 然後只實做1個virtual function
編譯的時候 就會出現c2.cpp error message "Undefined reference to 'vtable xxxxxxxxxx' "
因為還有一個virtual function忘了實做。
所以解決方法就是去把它實做出來就OK!]]></summary>
    <content type="html"><![CDATA[<p><span style="color: #ff0000;">其實這是因為你的virtual function忘了實做。&nbsp; 它錯誤訊息會跟你講是在哪一個CLASS忘了實做。</span></p>
<p>例如:</p>
<p>class c1 有2個virtual function</p>
<p>然後c2 繼承 c1 然後只實做1個virtual function</p>
<p>編譯的時候 就會出現c2.cpp error message "Undefined reference to 'vtable xxxxxxxxxx' "</p>
<p>因為還有一個virtual function忘了實做。</p>
<p>所以解決方法就是去把它實做出來就OK!</p>  <div class="more"><a href="http://eric1300460.pixnet.net/blog/post/28180801">(Read More...)</a></div>]]></content>
    <category term="C/C++"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://eric1300460.pixnet.net/blog/post/28180801#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://eric1300460.pixnet.net/blog/post/28164835</id>
    <title><![CDATA[當qt-eclipse-integration-win32安裝完了，可是編譯無法編譯?解決方法[QT]]]></title>
    <updated>2009-09-28T15:32:11+08:00</updated>
    <link rel="alternate" href="http://eric1300460.pixnet.net/blog/post/28164835"/>
    <summary><![CDATA[當你開啟Eclipse並加個QT專案，卻出現以下訊息
圖片:

那就是要叫你去加個QT版本，也就是要增加BIN跟includes位置
1.直接按Open preferences就可以跳到設定頁、或者 [工具列-&gt;Window-&gt;preferences-&gt;Qt]也可以
2.按add 加QT version

3.這邊我是抓QT 4.5.2版，因此我Version name打4.5.2&nbsp; 隨意就好，再來設定你QT安裝地方裡面BIN目錄 我安裝在G:\Qt\4.5.2\bin 設定以後下面那個會自己尋找，最後按Finish

4.接著就會看到你設定的QT版本，直接按OK吧

5.因為我有QT專案 ， 所以他要重新編譯它，直接按YES

&nbsp;
&nbsp;
=====================================
打完收工!
]]></summary>
    <content type="html"><![CDATA[<p>當你開啟Eclipse並加個QT專案，卻出現以下訊息</p>
<p>圖片:</p>
<p><img src="http://dl.getdropbox.com/u/1086696/picture/school_%20Sep.%2028%2015.34.jpg" alt="" /></p>
<p>那就是要叫你去加個QT版本，也就是要增加BIN跟includes位置</p>
<p>1.直接按Open preferences就可以跳到設定頁、或者 [工具列-&gt;Window-&gt;preferences-&gt;Qt]也可以</p>
<p>2.按add 加QT version</p>
<p><img src="http://dl.getdropbox.com/u/1086696/picture/school_%20Sep.%2028%2015.38.jpg" alt="" /></p>
<p>3.這邊我是抓QT 4.5.2版，因此我Version name打4.5.2&nbsp; 隨意就好，再來設定你QT安裝地方裡面BIN目錄 我安裝在G:\Qt\4.5.2\bin 設定以後下面那個會自己尋找，<br />最後按Finish</p>
<p><img src="http://dl.getdropbox.com/u/1086696/picture/school_%20Sep.%2028%2015.39.jpg" alt="" /></p>
<p>4.接著就會看到你設定的QT版本，直接按OK吧</p>
<p><img src="http://dl.getdropbox.com/u/1086696/picture/school_05%20Sep.%2028%2015.39.jpg" alt="" /></p>
<p>5.因為我有QT專案 ， 所以他要重新編譯它，直接按YES</p>
<p><img src="http://dl.getdropbox.com/u/1086696/picture/school_%20Sep.%2028%2015.40.jpg" alt="" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>=====================================</p>
<p>打完收工!</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;"><img src="file:///G:/DOCUME%7E1/eric1/LOCALS%7E1/Temp/moz-screenshot-12.png" alt="" /></div>  <div class="more"><a href="http://eric1300460.pixnet.net/blog/post/28164835">(Read More...)</a></div>]]></content>
    <category term="QT"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://eric1300460.pixnet.net/blog/post/28164835#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://eric1300460.pixnet.net/blog/post/28164368</id>
    <title><![CDATA[Eclipse3.4 + MinGW + GDT 出現Cannot run program "g++"錯誤 解決方法 [C/C++]]]></title>
    <updated>2009-09-28T14:40:37+08:00</updated>
    <link rel="alternate" href="http://eric1300460.pixnet.net/blog/post/28164368"/>
    <summary><![CDATA[來源: 那個網站掛掉...&nbsp; 還好GOOGLE有儲存...^^
**** Internal Builder is used for build&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ****g++ -O0 -g3 -Wall -c -fmessage-length=0 -osrc\Test.o ..\src\Test.cppInternal Builder: Cannot run program "g++": ϵͳ&Otilde;Ҳ&raquo;&micro;&frac12;ָ&para;&uml;&micro;Build error occurred, build is stoppedTime consumed: 0&nbsp; ms.
當你要編譯的時候竟然出現這ERROR，明明PATH就有設，也把mingw32-make.exe，改名為make.exe
為什麼還不行???
最後上網查 找到很奇怪的原因，我到現在也還不知道為什麼這樣就可以...
請將Eclipse目錄/plugins/org.eclipse.cdt.core.win32_5.0.0.XXXXXXXX.jar
XXXXX是發行日期
請把這個jar解壓出來，當然要放在org.eclipse.cdt.core.win32_5.0.0.XXXXXXX目錄裡面
然後把這個jar檔delete 
OK!這時候你就可以編譯你的C/C++程式。]]></summary>
    <content type="html"><![CDATA[<p>來源: 那個網站掛掉...&nbsp; 還好GOOGLE有儲存...^^</p>
<p><span style="background-color: #ffffff;"><span style="color: #ffffff;"><span style="color: #ff0000;">**** Internal Builder is used for build&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ****<br />g++ -O0 -g3 -Wall -c -fmessage-length=0 -osrc\Test.o ..\src\Test.cpp<br />Internal Builder: Cannot run program "g++": ϵͳ&Otilde;Ҳ&raquo;&micro;&frac12;ָ&para;&uml;&micro;<br />Build error occurred, build is stopped</span><br />Time consumed: 0&nbsp; ms.</span></span></p>
<p><span style="color: #000000;">當</span>你要編譯的時候竟然出現這ERROR，明明PATH就有設，也把<span style="color: #ff00ff;">mingw32-make.exe，改名為make.exe</span></p>
<p>為什麼還不行???</p>
<p>最後上網查 找到很奇怪的原因，我到現在也還不知道為什麼這樣就可以...</p>
<p>請將<span style="color: #ff0000;">Eclipse目錄/plugins/org.eclipse.cdt.core.win32_5.0.0.XXXXXXXX.jar</span></p>
<p><span style="color: #0000ff;">XXXXX</span>是發行日期</p>
<p>請把這個jar解壓出來，當然要放在<span style="color: #ff0000;">org.eclipse.cdt.core.win32_5.0.0.XXXXXXX目錄裡面</span></p>
<p>然後把<span style="color: #ff0000;">這個jar檔delete </span></p>
<p>OK!這時候你就可以編譯你的C/C++程式。</p>  <div class="more"><a href="http://eric1300460.pixnet.net/blog/post/28164368">(Read More...)</a></div>]]></content>
    <category term="C/C++"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://eric1300460.pixnet.net/blog/post/28164368#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://eric1300460.pixnet.net/blog/post/28114997</id>
    <title><![CDATA[發覺好多朋友都在facebook上聊天[閒聊]]]></title>
    <updated>2009-09-21T17:43:44+08:00</updated>
    <link rel="alternate" href="http://eric1300460.pixnet.net/blog/post/28114997"/>
    <summary><![CDATA[一開始我也覺得很奇怪，為什麼facebook上，使用人數為什麼會這麼多?
後來因為學長突然加入我的facebook所以我就開始使用它，一開始還是不覺得怎樣，
後來我以前同學也加我，使我覺得這一定有什麼吸引人的地方，
後來我也被它吸引了，我中毒了...。
原因: 它可以很方便的跟你所有朋友聊天留言，當然這是基本的，主要它還可以做一些其他互動功能，
像是:測驗的功能(某些測驗很腦殘)、還有遊戲功能、還有送東西、等等....尚在挖掘。
有時候還會有外國人家你，超奇怪的...，我還看不太懂那國語言，不過不重要，它是個很適合交友的平台。]]></summary>
    <content type="html"><![CDATA[<p>一開始我也覺得很奇怪，為什麼facebook上，使用人數為什麼會這麼多?</p>
<p>後來因為學長突然加入我的facebook所以我就開始使用它，一開始還是不覺得怎樣，</p>
<p>後來我以前同學也加我，使我覺得這一定有什麼吸引人的地方，</p>
<p>後來我也被它吸引了，我中毒了...。</p>
<p>原因: 它可以很方便的跟你所有朋友聊天留言，當然這是基本的，主要它還可以做一些其他互動功能，</p>
<p>像是:測驗的功能(某些測驗很腦殘)、還有遊戲功能、還有送東西、等等....尚在挖掘。</p>
<p>有時候還會有外國人家你，超奇怪的...，我還看不太懂那國語言，不過不重要，它是個很適合交友的平台。</p>  <div class="more"><a href="http://eric1300460.pixnet.net/blog/post/28114997">(Read More...)</a></div>]]></content>
    <category term="閒聊"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://eric1300460.pixnet.net/blog/post/28114997#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://eric1300460.pixnet.net/blog/post/28057167</id>
    <title><![CDATA[這裡有DVB-H相關資料[DVB-H]]]></title>
    <updated>2009-09-15T20:09:13+08:00</updated>
    <link rel="alternate" href="http://eric1300460.pixnet.net/blog/post/28057167"/>
    <summary><![CDATA[位置:http://www.dvb-h.org/PDF/
這是官網裡面所有的PDF都在這裡。
因為有些在http://www.dvb-h.org/technology.htm下載不到，不太曉得為什麼有東西沒放上來。
&nbsp;
另外還有個雜誌(新通訊)也有簡單介紹
加速行動電視普及化　DVB-IPDC標準扮要角
掌握DVB-H廣播網路封包細節　探究PSI/SI技術元件
&nbsp;]]></summary>
    <content type="html"><![CDATA[<p>位置:<a href="http://www.dvb-h.org/PDF/">http://www.dvb-h.org/PDF/</a></p>
<p>這是官網裡面所有的PDF都在這裡。</p>
<p>因為有些在<a href="http://www.dvb-h.org/technology.htm">http://www.dvb-h.org/technology.htm</a>下載不到，不太曉得為什麼有東西沒放上來。</p>
<p>&nbsp;</p>
<p>另外還有個雜誌(<a href="http://www.2cm.com.tw">新通訊</a>)也有簡單介紹</p>
<p><a href="http://www.2cm.com.tw/technologyshow_content.asp?sn=0701011177">加速行動電視普及化　DVB-IPDC標準扮要角</a></p>
<p><a href="http://www.2cm.com.tw/technologyshow_content.asp?sn=0701011164">掌握DVB-H廣播網路封包細節　探究PSI/SI技術元件</a></p>
<p>&nbsp;</p>  <div class="more"><a href="http://eric1300460.pixnet.net/blog/post/28057167">(Read More...)</a></div>]]></content>
    <category term="DVB-H"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://eric1300460.pixnet.net/blog/post/28057167#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://eric1300460.pixnet.net/blog/post/28054199</id>
    <title><![CDATA[挖哩!  好多工作要做.....]]></title>
    <updated>2009-09-15T13:44:52+08:00</updated>
    <link rel="alternate" href="http://eric1300460.pixnet.net/blog/post/28054199"/>
    <summary><![CDATA[今天跑完scrum meeting... 發覺好多東西要做，.....痛苦的一學期開跑...。]]></summary>
    <content type="html"><![CDATA[<p>今天跑完scrum meeting... 發覺好多東西要做，.....痛苦的一學期開跑...。</p>  <div class="more"><a href="http://eric1300460.pixnet.net/blog/post/28054199">(Read More...)</a></div>]]></content>
    <category term="心情日記"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://eric1300460.pixnet.net/blog/post/28054199#comments</wfw:comment>
  </entry>
  <entry xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <id>http://eric1300460.pixnet.net/blog/post/28053841</id>
    <title><![CDATA[用Adbe的PDF瀏覽器，無法使用free翻譯軟體即時翻譯[技巧分享]]]></title>
    <updated>2009-09-15T12:36:45+08:00</updated>
    <link rel="alternate" href="http://eric1300460.pixnet.net/blog/post/28053841"/>
    <summary><![CDATA[其實很簡單，直接放棄使用Adbe的PDF瀏覽器就好@@，那用什麼開????
去下載Foxit Reader吧.因為他支援免費翻譯軟體直接翻譯，要不然您就要使用Dreye翻譯軟體了，要免費原則，就是放棄Adbe的PDF瀏覽器換Foxit Reader個人感覺還不錯用。參考看看吧!
官網:http://www.foxitsoftware.com/pdf/reader/
&nbsp;
另外我後來去看Lingoes官方說法:
靈格斯的 Adobe PDF 屏幕取詞插件，目前僅支持 Adobe Acrobat Professional 7.0 及以上版本，如果出現安裝失敗的提示，表示找不到該軟件的安裝路徑。你也可以手工將靈格斯安裝文件夾下的 lingoes.api 文件複製到 Acrobat 的 plug_ins 文件夾下，同安裝是一樣的效果。這裡特別要注意的是，靈格斯支持的是 Adobe Acrobat Professional 而不是 Adobe Acrobat Reader，這是兩個不同的軟件，不要混淆它們的區別。靈格斯目前不支持 Adobe Acrobat Reader，原因是 Adobe 公司對開發 Acrobat Reader 的插件要收取每年 US$2,500 的授權費，因此暫時不能支持，是授權費用的原因，而不是技術的原因。不過你仍可以通過劃詞或剪貼板取詞這兩種方式來實現在 Adobe Acrobat Reader 中取詞。
所以不能使用即時翻譯&gt;&lt;"。]]></summary>
    <content type="html"><![CDATA[<p>其實很簡單，直接放棄使用Adbe的PDF瀏覽器就好@@，那用什麼開????</p>
<p>去下載<span><strong>Foxit Reader</strong></span>吧.因為他支援免費翻譯軟體直接翻譯，要不然您就要使用Dreye翻譯軟體了，要免費原則，<br />就是放棄Adbe的PDF瀏覽器換<span><strong>Foxit Reader</strong></span>個人感覺還不錯用。參考看看吧!</p>
<p>官網:<a href="http://www.foxitsoftware.com/pdf/reader/">http://www.foxitsoftware.com/pdf/reader/</a></p>
<p>&nbsp;</p>
<p>另外我後來去看Lingoes官方說法:</p>
<p style="padding-left: 30px;">靈格斯的 Adobe PDF 屏幕取詞插件，目前僅支持 <strong>Adobe Acrobat Professional</strong> 7.0 及以上版本，如果出現安裝失敗的提示，表示找不到該軟件的安裝路徑。<br /><br />你也可以手工將靈格斯安裝文件夾下的 lingoes.api 文件複製到 Acrobat 的 plug_ins 文件夾下，同安裝是一樣的效果。<br /><br /><span style="color: #ff0000;">這裡特別要注意的是，靈格斯支持的是 <strong>Adobe Acrobat Professional</strong> 而不是 <strong>Adobe Acrobat Reader</strong>，這是兩個不同的軟件，不要混淆它們的區別。</span>靈格斯目前不支持 Adobe Acrobat Reader，原因是 Adobe 公司對開發 Acrobat Reader 的插件要收取每年 US$2,500 的授權費，因此暫時不能支持，是授權費用的原因，而不是技術的原因。不過你仍可以通過<strong>劃詞</strong>或<strong>剪貼板取詞</strong>這兩種方式來實現在 Adobe Acrobat Reader 中取詞。</p>
<p>所以不能使用即時翻譯&gt;&lt;"。</p>  <div class="more"><a href="http://eric1300460.pixnet.net/blog/post/28053841">(Read More...)</a></div>]]></content>
    <category term="技巧分享"/>
    <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://eric1300460.pixnet.net/blog/post/28053841#comments</wfw:comment>
  </entry>
</feed>
