:rolleyes: Hi community!
I have a problem..
if i use the cycle for to decrypt the nostale login package, the content of the string login_packet remains only in the cycle for ...
cycle for = for(;;){..}
i have a question :
how i use this content outside the cycle for?
example:
Please, speak english!
I have a problem..
if i use the cycle for to decrypt the nostale login package, the content of the string login_packet remains only in the cycle for ...
cycle for = for(;;){..}
i have a question :
how i use this content outside the cycle for?
example:
Code:
std::string str;
for(...){
...
str = "hello"; // i have a string
}
// how i call string outside the cycle for?
std::cout << str; // error, the string = "";