==============================================================================C-Scene Issue #310 Steps to Better C++Chad Loder==============================================================================I have put together some suggestions for
C++用Winsock實現語音全雙工系統通訊http://www.4oa.com/Article/html/6/33/486/2005/17465.htmlhttp://www.4oa.com/Article/html/6/33/486/2005/17465_2.html一、引言 Windows 95作為微機的作業系統,已經完全融入了網路與通訊功能,不僅可以建立純Windows 95環境下的“對等網路”,而且支援多種協議,如TCP/IP、IPX/SPX、NETBUI等。在TCP/IP協議組中,
怎樣用C語言開發作業系統[1]--------------------------------------------------------------------------------作者:tianxiangyuan 來源:原創 更新日期:2005-01-07 瀏覽次數:24 儘管我的題目是“用C語言寫作業系統”,但是,僅僅使用C語言是寫不出作業系統的。我看到很多篇關於自己動手開發作業系統的文章,幾乎全來自一篇叫“Write Your Own Operating
比如說你用C++開發了一個DLL庫,為了能夠讓C語言也能夠調用你的DLL輸出(Export)的函數,你需要用extern "C"來強制編譯器不要修改你的函數名。通常,在C語言的標頭檔中經常可以看到類似下面這種形式的代碼: #ifdef __cplusplus extern "C" { #endif /**** some declaration or so *****/ #ifdef __cplusplus } #endif /* end of __cplusplus */
C++ Style GuideWhen you work on a project as part of team, a coding style guide enhances code quality. When everyone uses a similar style, it is easier to understand and modify each other's code. For example, if some people use 3-byte tabs, some use