当前位置: 技术问答>linux和unix
大家来帮我看看这个程序吧!!!!
来源: 互联网 发布时间:2016-01-27
本文导语: ////////////////////////////////////////////////////////////////////////// /* Provided by 王俊川, Northeastern University (www.neu.edu.cn) Email: blackdrn@sohu.com This product is free for use. */ //////////////////////////////////////////...
//////////////////////////////////////////////////////////////////////////
/*
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
新手不懂,请大家看看
/*
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没有默认参数
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。