__FILE__,__func__,__LINE__用法舉例

C語言中,__FILE__,__func__,__LINE__常用於logout,打trace,debug調試。 注意:其使用不需要定義,__FILE__指示當前文件名__func__指示當前函數名__LINE__指示運行當前文件的行數。 實驗環境:Windows 系統 vc6.0 // 555.cpp : Defines the entry point for the console appli
相關文章
相關標籤/搜索