Why not you use string
rather then using character type vector
, like this way, it is lot easier to use.
string germat;
getline(cin, germat); // used C++ builtin function `getline()` for taking string input with spaces
// now you can access by `germat[index]`
or you can take your SekuencaEfjaleve
string with getline()
, like:
getline(cin, SekuencaEfjaleve)
and now you can access with SekuencaEfjaleve[index]
.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…