C++ select only range of char array
Is possible to select a few chars from array ?
Like :
std::string(charArray from 0 to 16)
Without this process :
char chName[16];
for(int i = 0;i<16;i++)
{
chName[i] = decrypted[i];
}
std::string characterName(chName);
No comments:
Post a Comment