So I've been trying to run the simple program below using code:blocks with windows 7 64 bit and after I click "build and run" the program opens and a screen appears saying windows is searching for solutions to fix this problem. And on the command prompt it says "Process returned 255 (0xFF)". Why I am I getting this error?
You are accessing a vector<string> that doesn't exist (array is empty).
So, either construct array with a size or push_back a vector before accessing array[0].