Unhandled exception at 0x77e4bef7 in 1.exe: Microsoft C++ exception: std:out_of_range at memory location 0x0012fb8c

Hey. I requested the existing index, but get an error, I cannt understand the problem, what's wrong?

1
2
3
4
5
6
    string *shells_host = new string[cnt];
    for(int i=0;i<cnt;i++)
    {
        shells_host[i] = LinkToHost(shells[i]);
        shells[i] = LinkToReq(shells[i],shells_host[i].size()+7);
    }


All code: http://codepaste.ru/10939/
Last edited on
What is LinkToHost and LinkToReq?
Topic archived. No new replies allowed.