#array to vector help....

1 messages · Page 1 of 1 (latest)

jolly karmaBOT
#

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.

desert falcon
#
    {
        vector<int> numbers;
        int i = 0;
        while (letters[i] != '\0') {
            numbers.push_back(static_cast<int>(letters[i])); i++;

        }
        return numbers;
    }```
jolly karmaBOT
#

@desert falcon

Please Do Not Delete Posts!

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.

eager wasp
#

What’s the problem?

fallen spear
#

^

#

@desert falcon What's the issue?

desert falcon
#

oh i didnt get notified

#

either i break it or it does some weird infininte loop crap and im so confused..

lime zealot