Lost your password?

Blogs about: C

特色網誌

delegate:function的指標

b10021462 wrote 4 months ago: delegate是一種pointer to function,相對於c++,c#的delegate有判斷型別的功能,使用過程會比較安全。 直接看範例會比較快:(以下取自:http://msdn.mic … more →

Reading binary data in C#

mozclub wrote 7 months ago: http://www.yoda.arachsys.com/csharp/readbinary.html // Bad code! Do not use! FileStream fs = File.Op … more →

Tags: .NET

Convert String[] to comma separated string

mozclub wrote 8 months ago: string[] vegetables = new string[] { "Artichoke", "Bean", "Cabbage", … more →

Tags: .NET

log4net configuration

mozclub wrote 9 months ago: In App.config / Web.config <?xml version="1.0" encoding="utf-8" ?> <con … more →

Tags: .NET, log4net

Mark Six Programming

jackylaw wrote 9 months ago: 今次的電腦功課就是寫一個程式generate六個由一至四十九,但是要全部不一樣的數字出來,即是香港人平日最愛買的六合彩。 其實這一個程式早在這個功課前已經有構思過,但我只是想同有一個很笨的方法,去ge … more →

Tags: CIT

第一份CIT功課完工

jackylaw wrote 10 months ago: 第一份CIT C Programming功課,今日已用了大半時間去做,雖然長時間對著螢幕很辛苦, 但是對我來說是值得的! 0 1  1 2  2  2 3  3  3  3 4  4  4  4  4 … more →

Tags: CIT

用 C++ Template 建表

XOO wrote 10 months ago: (兩年前寫的東西,當時寫在 bbs 上沒公開,最近有空稍微整理一下。) C++ TMP 可以利用 compile-time 計算一些東西, 凡是 static 資訊都可以算出來, 但如果要 runti … more →

Tags: Programming, metaprogram

contructors建構子

fugen2244 wrote 1 year ago: contructor funtion:建構函式來進行物件的初始化,而在物件被釋放之前,我們也可以使用「解構函式」(destructor)來進行一些善後的工作,例如清除動態配置的記憶體,或像是檔案的儲存 … more →

Tags: Programming, data structures

Class

fugen2244 wrote 1 year ago: Abtract Data Type In computer terminology,the combination of data and their associated operations is … more →

Tags: Programming, Class Notes, data structures

原來C小姐和D先生很有緣。

Jek wrote 1 year ago: 前多天,C小姐打電話給我,訴了很多的苦,她很長氣地跟我說了超過3小時電話,不開心了2天,自閉了3天。 原來D先生已經離開澳門往回澳洲已有一段時間,C小姐回想起和D先生一起相處近2星期,發覺這2星期裡, … more →

Tags: 公開沉默, 感悟人生, a, b, D

A小姐B先生C小姐D先生3 comments

Jek wrote 1 year ago: 又聽到一個真實故事了。 A 小姐 和 B 先生 是香港人 C 小姐 和 D先生 是澳門人 A小姐和B先生,4年前他們在互聯網認識對方,最初B先生對A小姐沒太大的好感,到他們倆都變得很恩愛,而且他們倆走 … more →

Tags: 公開沉默, a, b, D

C# on Windows Mobile

Ivan Li wrote 1 year ago: C# Tutorials C# Corner Koders Open Source MSDN – Learn Windows Mobile Mobile Computing Windows … more →

Tags: Programming

C# and XML

Ivan Li wrote 1 year ago: C#操作xml文件 C#来创建和读取XML文档 最簡單 xml 格式文字檔 (讀寫範例) Create XML with MySQL and PHP Output mySQL data as XML … more →

Tags: Programming, xml

Template 版的 n 維陣列

XOO wrote 2 years ago: 最簡單的作法, 假設每一維度僅有 10 個元素, 以下能夠宣告在編譯其中任意維度的整數陣列: template<int DIM> class Array{ public: Array … more →

Tags: Computer Science, metaprogram

Promotion Trait

XOO wrote 2 years ago: 泛型程式真是恐怖的技巧 @”@ 先來講 Promotion Traits。用過 template 的人大概都覺得只是能夠對任意型別產生對應的函式跟物件, 僅此而已。但若需要判斷兩個型別中, … more →

Tags: Computer Science, metaprogram

關於 Standard Template Library 的書

XOO wrote 3 years ago: C++ STL 算是除了語言之外,另一重要的特色,一般的入門書包括 C++ Primer 都沒有著墨太多,想要寫得漂亮好 code 可能還需要以下這幾本書。(做個書單紀錄) The C++ Stand … more →

Tags: Books


Have your say. Start a blog.

See our free features →

Related Tags
All →

Follow this tag via RSS