📄 cssc.h
字号:
#ifndef _CSSC_ #define _CSSC_ #include <iostream> #include <iomanip> #include <fstream> #include <string> using namespace std; #define cscCopy 34 #define cscHelp 35 #define cscName 34 #define cscValue 31 #define cscRev 0 #define cscBlack 30 #define cscRed 31 #define cscGreen 32 #define cscYellow 33 #define cscBlue 34 #define cscMagenta 35 #define cscCYAN 36 #define cscWhite 37 #define cscNormal 0 #define COMMAND_NUM 45 string strCMD[COMMAND_NUM]; unsigned int nCMDs[COMMAND_NUM]; class CountItem { public: long nALL; long nVALID; long nCOMM; long nCMD; CountItem::CountItem(); }; unsigned int nCMDT; CountItem clsSum; CountItem clsDivCIs; void ExportHelpInfo(); void ExportCopyRight(); void LoadCommand(); void SetConsoleColor(int nColor); string TrimSpace(string strValue,int nWidth); string FormatNumber(int nNumber,int nWidth); void ShowSumInfo(int nDetail); class SRCCount { private: ifstream ifsSRC; int nFileNo; bool blDiv; bool blPGID; CountItem clsCI; CountItem clsDivCI; void CountStep(); string strPGID; unsigned int nCMD[COMMAND_NUM]; public: SRCCount(char *strFile,int intFiles); ~SRCCount(); void ShowCountInfo(int nDetail); };#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -