Hey I'm pretty new to C++ but have quite a bit of experience in Java. I have a project to make a Morse code translator. I have a struct that holds a letter and its morse code equivalent. Then I have a vector of these structs to hold all of the combinations. Here's the code thats giving me problems.
MorseCodeTranslator.cpp: In member function âvoid MorseCodeTranslator::setupConvertorTable()â:
MorseCodeTranslator.cpp:19: error: âclass std::vector<MorseCodeTranslator::Code, std::allocator<MorseCodeTranslator::Code> >â has no member named âletterâ
MorseCodeTranslator.cpp:22: error: âclass std::vector<MorseCodeTranslator::Code, std::allocator<MorseCodeTranslator::Code> >â has no member named âmorseâ