When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
1 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
{
vector<int> numbers;
int i = 0;
while (letters[i] != '\0') {
numbers.push_back(static_cast<int>(letters[i])); i++;
}
return numbers;
}```
@desert falcon
Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.
What’s the problem?
oh i didnt get notified
either i break it or it does some weird infininte loop crap and im so confused..
Where does the data for 'letters' come from? Specifically how does a \0 get in there?