看到这种代码,我蛋都碎了,有轻生的感觉……

typedef struct ContractCreateInputArgus
{
    char ContractID             [CONTRACT_ID_LEN+1];
    char Sevice_CONTRACT_ID     [IC_CONTRACT_ID_LEN+1];
    int CustomerOrCompany       ;
    int IsServiceContract       ;
    char Account_ID             [CA_ID_LEN+1];
    char Product_ID             [PRODUCT_ID_LEN+1];
    char Contract_Type          [CHANNEL_TYPE_LEN+1];
    int Limit_Ornot             ;
    double Limit_Amout          ;
    char CRF_ID                 [CRF_ID_LEN+1];
    int MonthorWeek             ;
    int RunDay                  ;
    char DetailTime             [DETAIL_TIME_LEN+1];
    char StartTime              [DATE_LEN+1];
    char EndLine                [DATE_LEN+1];
    int CompressionRatio        ;
} ContractCreateInArgus;

蛋碎点:

1. 变量命名方式另人蛋碎:ContractID, Sevice_CONTRACT_ID, Contract_Type, Limit_Ornot, MonthorWeek;

2. 拼写错误另人蛋碎:Sevice_CONTRACT_ID, Limit_Amout;

3. 词义对应另人蛋碎:char Contract_Type [CHANNEL_TYPE_LEN+1];

 

可怕的是我居然要include它,谁能比我惨?

posted @ 2010-12-12 15:25  冰封的水  阅读(217)  评论(0编辑  收藏  举报