Skip to content

Instantly share code, notes, and snippets.

@BMU-Verlag BMU-Verlag/morse_1_6.cpp

Last active Jul 9, 2020
Embed
What would you like to do?
for(i = 0; i < eingabe.length(); i++){
int j = 0;
bool weiter = true;
while(weiter && j < 42){
if(grossbuchstaben[j] != eingabe[i] && kleinbuchstaben[j] != eingabe[i]){
j++;
}
else{
weiter = false;
}
}
if (j < 42){
ausgabe += morsezeichen[j] + " ";
}
}
cout << ausgabe;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.