Ok I know this has got to be a simple question but for the life of me I can't figure out why I keep getting this message I am using eclipse V3.8 on ubuntu linux V13.04
Compile says "unit16 has not been declared
#ifndef ENIGMA_2C_H_
#define ENIGMA_2C_H_
class Enigma2C {
public:
static bool checkOptionKey(uint16 option, char *key);
static bool encrypt (char *inString, char *outString);
static bool decrypt (char *inString, char *outString);
};
#endif
Use uint16_t
in cstdint
, which is introduced in C++11. Or define your own type.
For C, it's in stdint.h
, which is introduced in C99.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With