Monthly Archives: February 2007

include path and lib path set in VC++ IDE was override by environment variables

I set include path and lib path of boost path in VC++ IDE, but the build script reset INCLUDE and LIB environment variables before launching the build command. This confused us for a while — the damn perl script.

Posted in Computers and Internet | Leave a comment

Need to add .\ to include path

I want to override some header file(root\somewhere\a.h) in another directory, so I created a header file (root\aaa\proj\a.h) in the project directory, a source file (root\aaa\b.cpp)  of this project referred this header file, it reports link error — some method in … Continue reading

Posted in Computers and Internet | Leave a comment

Speed of string concatenation

I saw a lot of place use CString +=, but I thought this is an inefficient way, so I did the following test:    int length = 1024 * 16;    {        ProfileTimer timer("CString test");        CString szText;        for(int i=0; … Continue reading

Posted in Computers and Internet | Leave a comment