(1) [Serializable()] //Set this attribute to all the classes that you define to be serialized
public class Serializeclass : ISerializable
(2) Stream stream = File.Open("Serializeclass", FileMode.Create);
目前分類:Jobs comments (32)
- Jun 21 Wed 2006 01:52
Serialized object in C#
- Jun 15 Thu 2006 07:49
List of Google services and tools
- Jun 09 Fri 2006 01:22
How to install Higgins and Run the demo applications
- Download the eclpise
- Use eclpise CVS to import the plugin and app parts from higgins
- May 25 Thu 2006 06:06
.NET or No.Net ?
http://www.codinghorror.com/blog/archives/000542.html
與系統核心(尤其是有硬體有關的或是與作業系統的程式)還是用native codeing比較好。
但是如果要放在網路上的應用,還是考量一下系統架構跟程式維護的便利性吧。
- May 23 Tue 2006 07:28
Managed Or Unmanaged?
比較 managed & unmanaged code的執行效能
results shows that the optimization switches in managed C++ and C# have relatively small effects, and that there is only a 2% difference between managed and unmanaged code. Significantly, C# code is as good, or better than managed C++ or C++/CLI which means that your choice to use a managed version of C++ should be based on the language features rather than a perceived idea that C++ will produce 'more optimized code'.
http://www.grimes.demon.co.uk/dotnet/man_unman.htm
- May 23 Tue 2006 07:23
share links
http://www.shadows.com/
Discover the web you've always wanted but could never find!
Shadows is the link-sharing website for people. By people. With Shadows, you have the power to discover the web's most fascinating content – the most interesting pages saved, discussed, and rated by you, your friends, and the Shadows community.
- May 17 Wed 2006 09:33
pointer to function -> callback function
http://www.newty.de/
=======================
動態指派函數去執行(這也是後來event hanlder都需要用此)
- May 04 Thu 2006 02:59
Bug again...
Hmm..找到一段bug…在VC++可以過->離開後new_num就是39119,但在BCB離開後,這個會變成任意數字,不過也因為這樣剛好找到
這個地方的new_num應該改成i
- Apr 26 Wed 2006 03:06
notes for VC++
A:這次的版本,你到底找到什麼bug了?為什麼memory leak的問題都沒有了
B:我也不知道,我只是每次把free之後,就把pointer設為NULL,每次calloc之前,都會先check是否為NULL
- Apr 20 Thu 2006 05:50
wiki & plone install
(1)
download
easyphp+mediawiki
- Apr 19 Wed 2006 12:12
SOA
From http://www.xml.com/pub/a/ws/2003/09/30/soa.html
http://www.soa.com/ <--SOA company...
http://www.service-architecture.com/web-services/articles/service-oriented_architecture_soa_definition.html
- Apr 19 Wed 2006 06:16
Table lookup method
使用時間:用於前端有固定的運動,但是後端會有某些限定的範圍,
策略:以空間換取時間
現有案例:
- Apr 19 Wed 2006 06:15
Bug:"Catch me, if you can."
change the pixel by the brightness
=====================================================================================
if ((r+BOffset) >= 255) WorkImage->Canvas->Pixels[x_][y_]= (TColor)RGB(255,g,b);
- Apr 19 Wed 2006 04:04
take a "break"!
在For的迴圈中
遇到有人叫你take a break 是可喜的
因為不是代表你休息後還要繼續在For的世界中掙扎
而是你可以跟For說 bye bye了...
- Apr 18 Tue 2006 02:41
FreeBSD & Linux ...
- Apr 18 Tue 2006 02:38
Digital Mobile Life ...
You should survey this
http://www.nttdocomo.com/
http://www.freestudios.tv/?cdroite=tablo_lift06