日期:2014-05-16  浏览次数:20586 次

大家来帮我看看这个程序吧!!!!
//////////////////////////////////////////////////////////////////////////
/*
        Provided   by   王俊川,   Northeastern   University   (www.neu.edu.cn)
        Email:   blackdrn@sohu.com
                This   product   is   free   for   use.
*/
//////////////////////////////////////////////////////////////////////////

typedef   enum         {ENCRYPT,DECRYPT}   ;

typedef   int           BOOL;   /*   a   32   bit   signed   integer   type           */

typedef   enum         {false,true}   ;

#define   TRUE   1
#define   FALSE   0

//////////////////////////////////////////////////////////////////////////

//   加/解密   Type—ENCRYPT:加密,DECRYPT:解密
void   Des_Run(char   Out[8],   char   In[8],char   Type=ENCRYPT);
//   设置密钥
void   Des_SetKey(const   char   Key[8]);

//////////////////////////////////////////////////////////////////////////

In   file   included   from   WjcDes.c:10:
WjcDes.h:9:   警告:空声明中指定存储类无用
WjcDes.h:13:   警告:空声明中指定存储类无用
WjcDes.h:21:   错误:expected   ‘;’,   ‘,’   or   ‘)’   before   ‘=’   token

新手不懂,请大家看看


------解决方案--------------------
C没有默认参数