Changed unknown to '?' & made libraries static on CMake.
This commit is contained in:
parent
b31dcf79f5
commit
27601dbbd6
|
@ -4,3 +4,5 @@ project(Astral-codex)
|
||||||
set(CMAKE_CXX_STANDARD 20)
|
set(CMAKE_CXX_STANDARD 20)
|
||||||
|
|
||||||
add_executable(Astral-codex main.cpp)
|
add_executable(Astral-codex main.cpp)
|
||||||
|
|
||||||
|
target_link_libraries(Astral-codex -static)
|
||||||
|
|
6
main.cpp
6
main.cpp
|
@ -10,10 +10,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Mew's translations:
|
// Mew's translations:
|
||||||
// A=; B=x C=* D=x E=& F=( G=x H=) I=[ J=x K=x L=Line M=x N=/ O=? P=+ Q=x R=] S={ T=} U=. V=x W=- X=x Y=x Z=x
|
// A=; B=x C=* D=x E=& F=( G=x H=) I=[ J=x K=x L=| M=x N=/ O=? P=+ Q=x R=] S={ T=} U=. V=x W=- X=x Y=x Z=x
|
||||||
|
|
||||||
// Sky's translations:
|
// Sky's translations:
|
||||||
// A=; B=@ C=* D=< E=& F=( G=" H=) I=[ J=x K=x L=Line M=x N=/ O=? P=+ Q=x R=] S={ T=} U=. V=x W=- X=x Y=x Z=x
|
// A=; B=@ C=* D=< E=& F=( G=" H=) I=[ J=x K=x L=| M=x N=/ O=? P=+ Q=x R=] S={ T=} U=. V=x W=- X=x Y=x Z=x
|
||||||
|
|
||||||
std::string translateInput(const std::string& input) {
|
std::string translateInput(const std::string& input) {
|
||||||
std::string translatedText{};
|
std::string translatedText{};
|
||||||
|
@ -113,7 +113,7 @@ std::string translateInput(const std::string& input) {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
translatedText.push_back('E');
|
translatedText.push_back('?');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user