0

the following are my utility.h
which i got from my professor
there is error 2332 on line 5 & 6
after doing a bit of searching
i do understand what does the error means
but i just not quite sure how to fix it!
can someone explain it to me??
or what should i do to fix the error

// utility.h

#ifndef UTILITY_H
#define UTILITY_H

enum bool {false, true};
enum Error_code {success, overflow, underflow} ;

#endif
2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by Ancient Dragon
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.