cssc.h

来自「LINUX平台上的COBOL源程序的STEP数统计」· C头文件 代码 · 共 62 行

H
62
字号
#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 + =
减小字号Ctrl + -
显示快捷键?