如何在VC6中使用SGI STL

2022-02-02 05:57:34 字數 533 閱讀 7551

首先到

sgistl

,216k

的zip

包,真是個了不起的傑作……網上都是溢美之詞。將

stl.zip

解壓到乙個目錄,比如

c:\sgistl

,然後在

vc6的

ide環境下,

tools->options->directories->include files

,將c:\sgistl

(你解壓的目錄)新增進去,然後,將這個路徑移到最頂端,就

ok了。還要注意的是,用

vc6使用

sgi-

stl,檔案中不能包含

,要用代替(該死的標準)。如果你想用

vc6的

stl,只需要將

c:\sgistl

移到底端就行了,真是太簡單了(這就是

ide的好處)。

bcc32

就沒這麼容易了,

bcb6

我沒試,所以我不知道它的

ide環境有沒有解決方案。

在VC6中使用GDI

包含了標頭檔案和庫 dll和.lib形式的都有 我在編譯過程中出現了編譯錯誤 ulong ptr沒被定義。錯誤在gdiplusinit.h中 typedef status winapi notificationhookproc out ulong ptr token 一行。然後我在gdiplusin...

在 VC6 中使用 GdiPlus 使用

下面用 vc6 來寫乙個 gdiplus 的 demo 工程 step2 新增標頭檔案宣告 在 stdafx.h 中新增以下 microsoft visual c will insert additional declarations immediately before the previous ...

在 VC6 中使用 GdiPlus(五)

下面用 vc6 來寫乙個 gdiplus 的 demo 工程 step2 新增標頭檔案宣告 在 stdafx.h 中新增以下 microsoft visual c will insert additional declarations immediately before the previous ...