我是靠谱客的博主 无限溪流,这篇文章主要介绍c语言 constant错误,求助大神指点,error C2059: syntax error : 'constant',现在分享给大家,希望可以做个参考。

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

#ifndef _FILEMANAGER_H_#define _FILEMANAGER_H_

#include /// Data Definition

// Function statustypedef int status;

#define ERROR -1

#define FAIL 0

#define OK 1

// Constant

#define NAMESIZE128

#define PATHSIZE128

#define TIMESIZE128

#define STACKSIZE128

typedef struct Time{

int year;

int month;

int day;

int hour;

int minute;

int second;

}

fileTime;

typedef struct File{

charname[NAMESIZE];

unsigned intattrib;

longsize;

fileTimecreationTime;

fileTimeeditTime;

fileTimefinalAccessTime;

charpath[PATHSIZE];

struct File*fileParent;

struct File*leftChild;

struct File*rightBrother;

}

file, folder,*folderHandle;

struct MSG{unsigned int MsgType;}MSG;

struct Exception{signed int ERROR;}EXPTION;

typedef struct stack{

folderHandle currentHandle[STACKSIZE];

int top;

int bottom;

}stack;

最后

以上就是无限溪流最近收集整理的关于c语言 constant错误,求助大神指点,error C2059: syntax error : 'constant'的全部内容,更多相关c语言内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(111)

评论列表共有 0 条评论

立即
投稿
返回
顶部