- Jan 16, 2001
- 352
- 0
- 0
In a nut shell:
Here is the code:
#ifndef "NAND_H"
#define "NAND_H"
class NAND
{
public:
NAND();
void setBOTH(int, int);
void setONE(int);
void setTWO(int);
void outputZ();
int outTHREE;
private:
int inONE, inTWO;
};
#endif
And the error I get from Visual C++ is "fatal error C1016: #if[n]def expected an identifier"....
Anyone have any idea why I am getting this? I have the same set up for 3 other header files and none of the other ones are having this prolem.
Thanks
Here is the code:
#ifndef "NAND_H"
#define "NAND_H"
class NAND
{
public:
NAND();
void setBOTH(int, int);
void setONE(int);
void setTWO(int);
void outputZ();
int outTHREE;
private:
int inONE, inTWO;
};
#endif
And the error I get from Visual C++ is "fatal error C1016: #if[n]def expected an identifier"....
Anyone have any idea why I am getting this? I have the same set up for 3 other header files and none of the other ones are having this prolem.
Thanks