17 views
Problem: I am making an RGB pixel array from bottom to top to top-bottom. I have checked the value of something and it gives me the expected result. No value is greater than obj.size () and no value is less than 0, I don't know what happens: std::vector<std::string> BMP_READER: ... (obj.size() - i) - (x_width*h); // error std::string val = obj[something]; new_v.push_back(val); } } return new_v; }
asked
Nov 12, 2020
sasha
13.2k points