| But when I do that I get an error. |
| 'Senator': no appropriate default constructor available |
Senator::getEncryption definition as it is while changing the class definition, that would explain all of:| 'mostFreqLetter': identifier not found 'ShiftedCipher': identifier not found 'fillDictionary': identifier not found 'Albahri': cannot instantiate abstract class |
Senator::getEncryption and Senator::getDecryption don't require a defintion.Albahri::getEncryption and Albahri::getDecryption do.main so that it is actually dealing with an Albahri instance and not just a Senator instance.