You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trimming your extension is bad way. You need to add whole boost just to perform one action.
From the structure of your algorithm is way better to change it in such way (no need for boos)
vector ext;
for (int i = 4; i < 8; i++)
{
if (header[i] == ' ')
{
break;
}
ext.push_back(header[i]);
}
mExtension = std::string(ext.begin(), ext.end());
The text was updated successfully, but these errors were encountered:
trimming your extension is bad way. You need to add whole boost just to perform one action.
From the structure of your algorithm is way better to change it in such way (no need for boos)
vector ext;
for (int i = 4; i < 8; i++)
{
if (header[i] == ' ')
{
break;
}
ext.push_back(header[i]);
}
The text was updated successfully, but these errors were encountered: